Page MenuHomeHEPForge

No OneTemporary

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d42f39b..5bc4366 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,8 +1,11 @@
file(GLOB src_files *.cc)
add_library(rhej SHARED ${src_files})
-set(libraries ${CMAKE_DL_LIBS} ${LHAPDF_LIBRARIES} ${CLHEP_LIBRARIES} ${FASTJET_LIBRARIES} ${GSL_LIBRARIES} ${Boost_LIBRARIES} ${HepMC_LIBRARIES} ${QCDloop_LIBRARIES} quadmath yaml-cpp)
+set(libraries ${CMAKE_DL_LIBS} ${LHAPDF_LIBRARIES} ${CLHEP_LIBRARIES} ${FASTJET_LIBRARIES} ${GSL_LIBRARIES} ${Boost_LIBRARIES} ${HepMC_LIBRARIES} quadmath yaml-cpp)
+if(${QCDloop_FOUND})
+ list(APPEND libraries ${QCDloop_LIBRARIES})
+endif()
target_link_libraries(rhej ${libraries})
install(TARGETS rhej DESTINATION lib)

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jan 21, 2:17 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4234727
Default Alt Text
(734 B)

Event Timeline