Skip to content

Commit

Permalink
Add gsl include directory at compilation
Browse files Browse the repository at this point in the history
cmake searches for GSL but the target is used nowhere leading to a compilation error. GSL::gsl should be added to sirius_cxx to fix the potential issue
  • Loading branch information
mtaillefumier authored Dec 18, 2024
1 parent 9fe5844 commit b5145ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ target_link_libraries(sirius_cxx PUBLIC ${GSL_LIBRARY}
$<TARGET_NAME_IF_EXISTS:kokkos::kokkos>
SpFFT::spfft
SPLA::spla
GSL::gsl
"${SIRIUS_LINALG_LIB}"
$<$<BOOL:${SIRIUS_USE_PUGIXML}>:pugixml::pugixml>
$<$<BOOL:${SIRIUS_USE_MEMORY_POOL}>:umpire>
Expand Down

0 comments on commit b5145ef

Please sign in to comment.