--- matc/src/CMakeLists.txt.orig 2015-08-18 12:26:58 UTC +++ matc/src/CMakeLists.txt @@ -12,7 +12,7 @@ TARGET_LINK_LIBRARIES(Matc_bin matc) SET_TARGET_PROPERTIES(Matc_bin PROPERTIES OUTPUT_NAME matc) IF(NOT(WIN32)) - SET_TARGET_PROPERTIES(Matc_bin PROPERTIES INSTALL_RPATH ${ELMERSOLVER_RPATH_STRING}) + SET_TARGET_PROPERTIES(Matc_bin PROPERTIES INSTALL_RPATH "${ELMERSOLVER_RPATH_STRING}") ENDIF() INSTALL(TARGETS matc Matc_bin RUNTIME DESTINATION "bin" LIBRARY DESTINATION ${ELMER_INSTALL_LIB_DIR})