Move the setting to a dedicated CMake file

This commit is contained in:
Ondřej Čertík 2019-11-21 09:07:25 -07:00
parent 78d55e7079
commit 910d8641b5
2 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,6 @@ 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)

View File

@ -16,3 +16,7 @@ elseif(MSVC)
# have reference type and must not be parenthesized
add_definitions(/D_CRT_NO_VA_START_VALIDATION)
endif()
if(NOT APPLE)
set(CMAKE_INSTALL_RPATH $ORIGIN)
endif()