Commit 9f9a1255 authored by Kai Szuttor's avatar Kai Szuttor Committed by Florian Weik

cmake: fix GSL linking. (#2429)

parent 71481b17
Pipeline #4799 passed with stages
in 59 minutes and 18 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment