--- elmergrid/src/CMakeLists.txt.orig 2015-08-18 12:26:58 UTC +++ elmergrid/src/CMakeLists.txt @@ -29,7 +29,7 @@ ADD_EXECUTABLE(ElmerGrid ${elmergrid_SRC TARGET_LINK_LIBRARIES(ElmerGrid metis m) IF(NOT(WIN32)) - SET_TARGET_PROPERTIES(ElmerGrid PROPERTIES INSTALL_RPATH ${ELMERSOLVER_RPATH_STRING}) + SET_TARGET_PROPERTIES(ElmerGrid PROPERTIES INSTALL_RPATH "${ELMERSOLVER_RPATH_STRING}") ENDIF() INSTALL(TARGETS ElmerGrid RUNTIME DESTINATION "bin")