Permalink
Browse files

cmake: fix GSL linking. (#2429)

  • Loading branch information...
KaiSzuttor authored and fweik committed Jan 7, 2019
1 parent 71481b1 commit 9f9a1255b453b68d3600479f1a84d44caf2c4f02
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/CMakeLists.txt
@@ -114,10 +114,10 @@ if(SCAFACOS)
target_link_libraries(EspressoCore PRIVATE Scafacos)
endif(SCAFACOS)

if(GSL)
if(GSL_FOUND)
target_include_directories(EspressoCore PUBLIC ${GSL_INCLUDE_DIRS})
target_link_libraries(EspressoCore PRIVATE gsl gslcblas)
endif(GSL)
target_link_libraries(EspressoCore PRIVATE GSL::gsl GSL::gslcblas)
endif(GSL_FOUND)

if(CUDA)
set(EspressoCuda_SRC

0 comments on commit 9f9a125

Please sign in to comment.