From 1f447675f1a25907f4766e32d25d3cd9bfe11f2c Mon Sep 17 00:00:00 2001 From: shriwise Date: Thu, 6 Sep 2018 16:02:45 -0500 Subject: [PATCH] Removing ldflags argument from libopenmc link cmd in CMake file. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5a187dba4..bc510946a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -500,7 +500,7 @@ target_link_libraries(libopenmc ${ldflags} ${HDF5_LIBRARIES} pugixml #=============================================================================== add_executable(openmc src/main.cpp) target_compile_options(openmc PRIVATE ${cxxflags}) -target_link_libraries(openmc ${ldflags} libopenmc ${DAGMC_LIBRARIES}) +target_link_libraries(openmc libopenmc ${DAGMC_LIBRARIES}) #=============================================================================== # Python package