From 9fd077cf6d32d75ff8ee77fde6133c9d45e79bb1 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Mon, 14 May 2018 14:54:19 +0200 Subject: [PATCH] corrections for the needed linked libraries. --- src/external/libCalcMeanFieldsLEM/CMakeLists.txt | 4 +++- src/external/libLFRelaxation/CMakeLists.txt | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/external/libCalcMeanFieldsLEM/CMakeLists.txt b/src/external/libCalcMeanFieldsLEM/CMakeLists.txt index ad194e2c..bfa48ca9 100644 --- a/src/external/libCalcMeanFieldsLEM/CMakeLists.txt +++ b/src/external/libCalcMeanFieldsLEM/CMakeLists.txt @@ -42,7 +42,9 @@ target_include_directories( ) #--- add library dependencies ------------------------------------------------- -target_link_libraries(CalcMeanFieldsLEM ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} PUserFcnBase) +target_link_libraries(CalcMeanFieldsLEM + ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} BMWtools FitPofB PUserFcnBase +) #--- install CalcMeanFieldsLEM solib ------------------------------------------ install(TARGETS CalcMeanFieldsLEM DESTINATION lib) diff --git a/src/external/libLFRelaxation/CMakeLists.txt b/src/external/libLFRelaxation/CMakeLists.txt index 2fbe411e..3fc4a3c4 100644 --- a/src/external/libLFRelaxation/CMakeLists.txt +++ b/src/external/libLFRelaxation/CMakeLists.txt @@ -25,13 +25,13 @@ configure_file("TLFRelaxation.pc.in" "TLFRelaxation.pc" @ONLY) #]==] #--- lib creation ------------------------------------------------------------- -add_library(TLFRelaxation SHARED +add_library(LFRelaxation SHARED TLFRelaxation.cpp TLFRelaxationDict.cxx ) #--- make sure that the include directory is found ---------------------------- target_include_directories( - TLFRelaxation BEFORE PRIVATE + LFRelaxation BEFORE PRIVATE $ $ $ @@ -39,10 +39,10 @@ target_include_directories( ) #--- add library dependencies ------------------------------------------------- -target_link_libraries(TLFRelaxation ${FFTW3_LIBRARY} ${ROOT_LIBRARIES} PUserFcnBase BMWtools) # //as35 cuba lib still missing +target_link_libraries(LFRelaxation ${GSL_LIBRARIES} ${FFTW3F_LIBRARY} ${ROOT_LIBRARIES} PUserFcnBase BMWtools) # //as35 cuba lib still missing -#--- install TLFRelaxation solib ---------------------------------------------- -install(TARGETS TLFRelaxation DESTINATION lib) +#--- install LFRelaxation solib ----------------------------------------------- +install(TARGETS LFRelaxation DESTINATION lib) #--- install root pcm's and rootmaps ------------------------------------------ install(