Removing ldflags argument from libopenmc link cmd in CMake file.

This commit is contained in:
shriwise 2018-09-06 16:02:45 -05:00 committed by pshriwise
parent 5ac964a73f
commit 1f447675f1

View file

@ -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