Set the proper RPATH for installed libraries

This commit is contained in:
Ondřej Čertík 2019-11-20 11:55:23 -07:00
parent cbd9882a30
commit 78d55e7079

View File

@ -6,6 +6,10 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Find includes in the build directories # Find includes in the build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(NOT APPLE)
set(CMAKE_INSTALL_RPATH $ORIGIN)
endif()
# Common Includes for JKQtPlotter # Common Includes for JKQtPlotter
include(jkqtplotter_common_include) include(jkqtplotter_common_include)