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

Merge branch 'fix_build_submodules2' into 'master'

parents 34b0ae5d 5651f84e
Pipeline #7228 passed with stages
in 4 minutes and 48 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