Skip to content
Snippets Groups Projects
Commit 58c06dff authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

math/mathmore: link privately to GSL

This is necessary to avoid ROOT's installed cmake modules
to point to the build directory when using builtin GSL, since
$GSL_LIBRARIES is the full path to <BINARY_DIR>/lib/libgsl.so
when using builtin GSL.
parent 4ec7ca77
No related branches found
No related tags found
No related merge requests found
......@@ -78,15 +78,13 @@ SOURCES
src/cblas.cxx
LINKDEF
Math/LinkDef.h
LIBRARIES
${GSL_LIBRARIES}
DEPENDENCIES
MathCore
BUILTINS
GSL
)
target_include_directories(MathMore PUBLIC ${GSL_INCLUDE_DIR})
target_link_libraries(MathMore PUBLIC ${GSL_LIBRARIES})
target_include_directories(MathMore PRIVATE ${GSL_INCLUDE_DIR})
target_link_libraries(MathMore PRIVATE ${GSL_LIBRARIES})
ROOT_ADD_TEST_SUBDIRECTORY(test)
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