Commit 5651f84e authored by Samuel Debionne's avatar Samuel Debionne

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

parent 34b0ae5d
Pipeline #7103 passed with stages
in 4 minutes and 51 seconds
......@@ -91,7 +91,9 @@ if (LIMA_ENABLE_PYTHON)
find_package(NumPy REQUIRED)
endif()
find_package(Espia REQUIRED)
if (CAMERA_MASTER_PROJECT)
find_package(Espia REQUIRED)
endif()
file(GLOB_RECURSE FRELON_INCS "${CMAKE_CURRENT_SOURCE_DIR}/include/*.h")
......@@ -136,6 +138,12 @@ endif()
if(LIMA_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(frelon)
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