Skip to content
Snippets Groups Projects
Commit 63b40961 authored by Administrator's avatar Administrator
Browse files

Fix build system for macosx 11.4

Limit the linking to the necessary ROOT libraries.
When linking agains all ROOT libraries defiened in the cmake variable
ROOT_LIBRARIES a link error occured on macosx 11.4 since the freetype
library wasn't found. It turned out that only 2 or 3 ROOT libraries are
really needed to properly link the executables.
parent e5d82170
No related branches found
No related tags found
2 merge requests!372Change licence headers and add license file,!367Fix build system for macosx 11.4
Pipeline #10557 failed
...@@ -42,7 +42,9 @@ Set(LINK_DIRECTORIES ...@@ -42,7 +42,9 @@ Set(LINK_DIRECTORIES
Set(DEPENDENCIES Set(DEPENDENCIES
${ROOT_LIBRARIES} Core
Matrix
Physics
${GTEST_BOTH_LIBRARIES} ${GTEST_BOTH_LIBRARIES}
FairTools FairTools
CbmData CbmData
...@@ -52,8 +54,7 @@ Set(DEPENDENCIES ...@@ -52,8 +54,7 @@ Set(DEPENDENCIES
MbsAPI MbsAPI
) )
Set(SPECIAL_DEPENDENCIES set(SPECIAL_DEPENDENCIES
${ROOT_LIBRARIES}
${GTEST_BOTH_LIBRARIES} ${GTEST_BOTH_LIBRARIES}
FairTools FairTools
) )
......
...@@ -15,7 +15,8 @@ Set(LINK_DIRECTORIES ...@@ -15,7 +15,8 @@ Set(LINK_DIRECTORIES
Set(DEPENDENCIES Set(DEPENDENCIES
${ROOT_LIBRARIES} Core
Physics
${GTEST_BOTH_LIBRARIES} ${GTEST_BOTH_LIBRARIES}
FairTools FairTools
CbmData CbmData
......
...@@ -15,7 +15,8 @@ Set(LINK_DIRECTORIES ...@@ -15,7 +15,8 @@ Set(LINK_DIRECTORIES
Set(DEPENDENCIES Set(DEPENDENCIES
${ROOT_LIBRARIES} Core
Physics
${GTEST_BOTH_LIBRARIES} ${GTEST_BOTH_LIBRARIES}
FairTools FairTools
CbmData CbmData
......
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