From a43f60819d7ca638fcd59c77a66cf22ac813e8a2 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Fri, 16 Dec 2022 12:40:18 +0100 Subject: [PATCH] Improve build system Remove a special linker setting for macosx which isn't needed any longer. With the build system changes the full list of dependecies is available at link time. Add a missing library dependency. --- cmake/modules/CbmCompilerSettings.cmake | 3 --- fles/cosy2019/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/modules/CbmCompilerSettings.cmake b/cmake/modules/CbmCompilerSettings.cmake index 872bb2c368..0eb1ccee4e 100644 --- a/cmake/modules/CbmCompilerSettings.cmake +++ b/cmake/modules/CbmCompilerSettings.cmake @@ -46,9 +46,6 @@ macro(set_compiler_flags) Message("C_FLAGS: ${CMAKE_C_FLAGS_CONTINUOUS}") EndIf() Check_Compiler() - if(APPLE) - SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -single_module -undefined dynamic_lookup") - endif() set(CMAKE_CONFIGURATION_TYPES ${CMAKE_CONFIGURATION_TYPES} "CONTINUOUS" "FullWarnings") diff --git a/fles/cosy2019/CMakeLists.txt b/fles/cosy2019/CMakeLists.txt index 871fcde26d..c84dc67931 100644 --- a/fles/cosy2019/CMakeLists.txt +++ b/fles/cosy2019/CMakeLists.txt @@ -46,6 +46,7 @@ set(PRIVATE_DEPENDENCIES CbmFlibFlesTools CbmStsBase FairLogger::FairLogger + FairRoot::Online ROOT::MathCore ROOT::RHTTP ROOT::RIO -- GitLab