File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -655,6 +655,7 @@ if(${ASPECT_BUILD_DEBUG} STREQUAL "ON")
655655 "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_DEBUG} "
656656 )
657657 target_link_libraries (${TARGET_EXE_DEBUG} dealii::dealii_debug)
658+ set_target_properties (${TARGET_EXE_DEBUG} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib" )
658659endif ()
659660
660661if (${ASPECT_BUILD_RELEASE} STREQUAL "ON" )
@@ -670,6 +671,7 @@ if(${ASPECT_BUILD_RELEASE} STREQUAL "ON")
670671 "${DEAL_II_LINKER_FLAGS} ${DEAL_II_LINKER_FLAGS_RELEASE} "
671672 )
672673 target_link_libraries (${TARGET_EXE_RELEASE} dealii::dealii_release)
674+ set_target_properties (${TARGET_EXE_RELEASE} PROPERTIES INSTALL_RPATH "$ORIGIN/../lib" )
673675endif ()
674676
675677# Make sure we have the rpath to our dependencies set:
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ endif()
559559
560560# binary:
561561install (CODE "message(Installing...)" )
562- install (TARGETS ${WB_TARGET} EXPORT WorldBuilder DESTINATION bin )
562+ install (TARGETS ${WB_TARGET} EXPORT WorldBuilder DESTINATION lib )
563563install (EXPORT WorldBuilder DESTINATION bin)
564564
565565if (WB_MAKE_FORTRAN_WRAPPER)
You can’t perform that action at this time.
0 commit comments