Commit 831ca95e authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline

Merge branch 'fix_build_submodules2' into 'master'

parents f937b643 048e93e6
Pipeline #7227 passed with stages
in 5 minutes and 7 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