From 91edf05da511ef9f9d68486005c7f35d45a74eb8 Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Thu, 22 May 2014 16:03:54 +0000 Subject: [PATCH] - try to fix nighlty builds (missing dlopen) --- DDSense/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DDSense/CMakeLists.txt b/DDSense/CMakeLists.txt index f13b154df..4f9f8184f 100644 --- a/DDSense/CMakeLists.txt +++ b/DDSense/CMakeLists.txt @@ -27,8 +27,7 @@ file(GLOB sources src/*.cpp) #endif() add_library(DD4hepSense SHARED ${sources}) - -#target_link_libraries(DDSense ${Geant4_LIBRARIES}) +target_link_libraries(DD4hepSense ${CMAKE_DL_LIBS} ) SET_TARGET_PROPERTIES( DD4hepSense PROPERTIES VERSION ${DD4hep_VERSION} SOVERSION ${DD4hep_SOVERSION}) -- GitLab