diff --git a/math/mathmore/CMakeLists.txt b/math/mathmore/CMakeLists.txt index 7777e7a6f0e85549b2b68645723f35f572dc82d5..6eefc882c5251b14dcfbe24239924359c8d6ad0a 100644 --- a/math/mathmore/CMakeLists.txt +++ b/math/mathmore/CMakeLists.txt @@ -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)