From 48e823218e1367dc759162fa66881ce136b741e7 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Fri, 4 Nov 2022 17:06:52 +0100 Subject: [PATCH] Install library On some systems the library seems to be needed in the installation. See https://git.cbm.gsi.de/computing/cbmroot/-/merge_requests/1005. --- external/flib_dpb/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/flib_dpb/CMakeLists.txt b/external/flib_dpb/CMakeLists.txt index a57ed65c46..343d5634d0 100644 --- a/external/flib_dpb/CMakeLists.txt +++ b/external/flib_dpb/CMakeLists.txt @@ -10,4 +10,6 @@ set(LIB_HEADERS flib_dpb/MicrosliceContents.hpp) add_Library(flib_dpb SHARED ${LIB_SOURCES} ${LIB_HEADERS}) target_include_directories(flib_dpb PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/flib_dpb) -Set_Target_Properties(flib_dpb PROPERTIES SUFFIX ".so") + +install(TARGETS flib_dpb DESTINATION lib) +install(FILES ${LIB_HEADERS} DESTINATION include) -- GitLab