Skip to content
Snippets Groups Projects
Commit b2b2176c authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed plumed load in gmx 5.1 patch

With this change it looks I can solve an issue on my workstation
that has been reported on the mailing list (multiple linking
of Plumed.o object)
parent f4a4e6fa
No related branches found
No related tags found
No related merge requests found
......@@ -199,13 +199,17 @@ else()
endif()
set_source_files_properties(selection/scanner.cpp PROPERTIES COMPILE_FLAGS "${_scanner_cpp_compiler_flags}")
target_link_libraries(libgromacs ${PLUMED_LOAD})
target_link_libraries(libgromacs
${EXTRAE_LIBRARIES}
${GMX_EXTRA_LIBRARIES}
${TNG_IO_LIBRARIES}
${FFT_LIBRARIES} ${LINEAR_ALGEBRA_LIBRARIES}
${XML_LIBRARIES}
${THREAD_LIB} ${GMX_SHARED_LINKER_FLAGS} ${OPENCL_LIBRARIES} ${PLUMED_LOAD})
${THREAD_LIB} ${GMX_SHARED_LINKER_FLAGS} ${OPENCL_LIBRARIES})
set_target_properties(libgromacs PROPERTIES
OUTPUT_NAME "gromacs${GMX_LIBS_SUFFIX}"
SOVERSION ${LIBRARY_SOVERSION_MAJOR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment