Skip to content
Snippets Groups Projects
Commit 4fdffafa authored by Administrator's avatar Administrator
Browse files

Fix build system for some Linux systems

With the previous commit for some Linux systems the needed link dependency
for the thread library was missing. This commit add this dependency again.
parent 63b40961
No related branches found
Tags dev_2021_23
No related merge requests found
......@@ -18,6 +18,8 @@ Macro(CreateGTestExeAndAddTest _testname _includeDirs _linkDirs _sources _depend
EndIf()
EndMacro(CreateGTestExeAndAddTest)
FIND_PACKAGE(Threads REQUIRED)
add_subdirectory(psd)
add_subdirectory(trd)
......@@ -52,6 +54,7 @@ Set(DEPENDENCIES
ParBase
GeoBase
MbsAPI
${CMAKE_THREAD_LIBS_INIT}
)
set(SPECIAL_DEPENDENCIES
......
......@@ -20,6 +20,7 @@ Set(DEPENDENCIES
${GTEST_BOTH_LIBRARIES}
FairTools
CbmData
${CMAKE_THREAD_LIBS_INIT}
)
If(FAIRLOGGER_FOUND)
......
......@@ -20,6 +20,7 @@ Set(DEPENDENCIES
${GTEST_BOTH_LIBRARIES}
FairTools
CbmData
${CMAKE_THREAD_LIBS_INIT}
)
If(FAIRLOGGER_FOUND)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment