From a7ce3c92ca838620e198edcd01165b2dd3387045 Mon Sep 17 00:00:00 2001 From: Kalin Kiesling Date: Wed, 16 Mar 2022 15:44:25 -0500 Subject: [PATCH] fix pugixml linking issue --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38069662a1..1d60861d36 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::gsl-lite-v1 fmt::fmt) + pugixml::pugixml faddeeva xtensor gsl::gsl-lite-v1 fmt::fmt) if(dagmc) target_compile_definitions(libopenmc PRIVATE DAGMC)