Skip to content
Snippets Groups Projects
Commit 9378bf2a authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix GSL cmake config

parent f0639512
Branches
Tags
No related merge requests found
Pipeline #85073 passed
......@@ -205,7 +205,7 @@ endif()
## GSL
find_package(GSL)
if (GSL)
if (GSL_FOUND)
include_directories(${GSL_INCLUDE_DIRS})
list(APPEND TURTLE_LIBS "${GSL_LIBRARIES}")
endif()
......@@ -419,7 +419,7 @@ set(hpp_for_lib
${PROJECT_SOURCE_DIR}/cpp/full_code/ornstein_uhlenbeck_process.hpp
${PROJECT_SOURCE_DIR}/cpp/full_code/ou_vorticity_equation.hpp)
if(GSL)
if(GSL_FOUND)
LIST(APPEND cpp_for_lib ${PROJECT_SOURCE_DIR}/cpp/particles/rhs/deformation_tensor_rhs.cpp)
LIST(APPEND hpp_for_lib ${PROJECT_SOURCE_DIR}/cpp/particles/rhs/deformation_tensor_rhs.hpp)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment