From 09d355475af1e9e94463e55d598a6310b5175dbb Mon Sep 17 00:00:00 2001 From: Kalin Kiesling Date: Wed, 16 Mar 2022 09:49:14 -0500 Subject: [PATCH] fixed gsl compile error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d588cb84b..38069662a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -446,7 +446,7 @@ endif() # target_link_libraries treats any arguments starting with - but not -l as # linker flags. Thus, we can pass both linker flags and libraries together. target_link_libraries(libopenmc ${ldflags} ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES} - pugixml faddeeva xtensor gsl-lite-v1 fmt::fmt) + pugixml faddeeva xtensor gsl::gsl-lite-v1 fmt::fmt) if(dagmc) target_compile_definitions(libopenmc PRIVATE DAGMC)