GH-1389 remove use of LD_LIBRARY_PATH for mmc libs

This commit is contained in:
Petr Mrázek
2016-01-04 01:37:46 +01:00
parent 8cf23bd5aa
commit 6f92ca843e
2 changed files with 6 additions and 1 deletions

View File

@ -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 ########