diff options
Diffstat (limited to 'application/CMakeLists.txt')
-rw-r--r-- | application/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt index 65bee8c9..75f7d78e 100644 --- a/application/CMakeLists.txt +++ b/application/CMakeLists.txt @@ -71,6 +71,11 @@ endif() # directories to look for dependencies set(DIRS ${QT_LIBS_DIR} ${QT_LIBEXECS_DIR} ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) +# Install RPATH - let's not use LD_LIBRARY_PATH +if(UNIX AND NOT APPLE) + set(CMAKE_INSTALL_RPATH "\\\$ORIGIN") +endif() + ################################ FILES ################################ ######## Sources and headers ######## |