mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
Set the proper RPATH for installed libraries
This commit is contained in:
parent
cbd9882a30
commit
78d55e7079
@ -6,6 +6,10 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
# Find includes in the build directories
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
if(NOT APPLE)
|
||||
set(CMAKE_INSTALL_RPATH $ORIGIN)
|
||||
endif()
|
||||
|
||||
# Common Includes for JKQtPlotter
|
||||
include(jkqtplotter_common_include)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user