Commit 048e93e6 authored by Samuel Debionne's avatar Samuel Debionne

Fix SIP include dirs (missing espia) in lima master compilation

parent f937b643
Pipeline #7104 passed with stages
in 4 minutes and 59 seconds
......@@ -89,7 +89,9 @@ if (CAMERA_ENABLE_PYTHON)
find_package(NumPy REQUIRED)
endif()
find_package(Espia REQUIRED)
if (CAMERA_MASTER_PROJECT)
find_package(Espia REQUIRED)
endif()
file(GLOB_RECURSE MAXIPIX_INCS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.h")
......@@ -139,6 +141,12 @@ endif()
if(CAMERA_ENABLE_PYTHON)
include(LimaTools)
set(IMPORTS "limaespia.sip")
if(NOT CAMERA_MASTER_PROJECT)
set(SIP_INCLUDE_DIRS
"${CMAKE_CURRENT_BINARY_DIR}/../common/espia/sip"
"${CMAKE_CURRENT_SOURCE_DIR}/../common/espia/sip"
)
endif()
limatools_run_sip_for_camera(maxipix)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment