4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-05 15:29:33 +00:00

cmake: do not use rpath

Distros often do not allow use rpath in packages (Fedora and Debian for example).
If need to have rpath CMAKE_INSTALL_RPATH can be set in command line.
This commit is contained in:
Ivan Romanov 2014-11-05 02:08:02 +05:00
parent 7f8346bbae
commit 2e0fb206f9

@ -243,12 +243,6 @@ if (APPLE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
endif (APPLE)
# set up RPATH handling, so the libs are found if they are installed to a non-standard location, Alex
if (UNIX AND NOT APPLE)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
set(CMAKE_INSTALL_RPATH "${QCA_LIBRARY_INSTALL_DIR}" )
endif (UNIX AND NOT APPLE)
message(STATUS "Checking for certstore..")
# fixme add OR mac
if( WIN32 )