From b8ff5c0c868b4f083de7b49fbb3156d78efe6b86 Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Wed, 10 Jul 2024 21:36:56 +0800 Subject: [PATCH] Don't link profit-cli against GSL explicitly The libprofit target already links against either GSL or RMath, so there shouldn't be any need to link against GSL here. Signed-off-by: Rodrigo Tobar --- src/apps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt index 5f41fa0..e031d0c 100644 --- a/src/apps/CMakeLists.txt +++ b/src/apps/CMakeLists.txt @@ -22,7 +22,7 @@ # along with libprofit. If not, see . add_executable(profit-cli fits_utils.cpp profit-cli.cpp) -target_link_libraries(profit-cli profit GSL::gsl) +target_link_libraries(profit-cli profit) if (MSVC) target_include_directories(profit-cli PRIVATE ${PROFIT_GETOPT_DIR}) endif()