Commit 93b2dc3d authored by Aitor Henry's avatar Aitor Henry Committed by Sebastien Petitdemange
Browse files

Using functions in new cmake file instead of including differents cmake files.

parent d6c4428c
...@@ -44,10 +44,10 @@ endif() ...@@ -44,10 +44,10 @@ endif()
target_link_libraries(lima${NAME} limacore) target_link_libraries(lima${NAME} limacore)
target_link_libraries(lima${NAME} ${PILATUS_CBF_LIB}) target_link_libraries(lima${NAME} ${PILATUS_CBF_LIB})
include(CameraVERSION) limatools_set_library_soversion(lima${NAME} "VERSION")
install(TARGETS lima${NAME} LIBRARY DESTINATION lib) install(TARGETS lima${NAME} LIBRARY DESTINATION lib)
if(LIMA_ENABLE_PYTHON) if(LIMA_ENABLE_PYTHON)
include(CameraRunSIP) limatools_run_sip_for_camera(${NAME})
install(FILES python/__init__.py DESTINATION "${PYTHON_SITE_PACKAGES_DIR}/Lima/Pilatus") install(FILES python/__init__.py DESTINATION "${PYTHON_SITE_PACKAGES_DIR}/Lima/Pilatus")
endif() endif()
Supports Markdown
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