File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ set_target_properties(dengitor PROPERTIES
5757 #export all. useful for connecting g_signal
5858 ENABLE_EXPORTS TRUE
5959 WINDOWS_EXPORT_ALL_SYMBOLS TRUE
60+ INSTALL_RPATH "$ORIGIN/../dengine-${DENGINE_VERSION} /"
6061 C_STANDARD 99
6162)
6263
Original file line number Diff line number Diff line change 11#! /bin/bash
2- cd ../lib/dengitor-@DENGINE_VERSION@
3- export LD_LIBRARY_PATH=" ../../lib/dengine-@DENGINE_VERSION@:${LD_LIBRARY_PATH:- } "
4- ./dengitor
2+ exec " $( dirname " $( readlink -f " $0 " ) " ) /../lib/dengitor-@DENGINE_VERSION@/dengitor" " $@ "
Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ get_directory_property(subdirs SUBDIRECTORIES)
2424foreach (subdir ${subdirs} )
2525 get_directory_property (dir_tgts DIRECTORY ${subdir} BUILDSYSTEM_TARGETS)
2626 set_target_properties (${dir_tgts} PROPERTIES
27- RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR } /bin" )
27+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR } /bin"
28+ INSTALL_RPATH "$ORIGIN/../" )
29+
30+
2831 install (TARGETS ${dir_tgts} DESTINATION ${tests_install_dir} )
2932endforeach ()
3033if (MINGW)
You can’t perform that action at this time.
0 commit comments