mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
Move the setting to a dedicated CMake file
This commit is contained in:
parent
78d55e7079
commit
910d8641b5
@ -6,10 +6,6 @@ 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)
|
||||||
|
|
||||||
|
@ -16,3 +16,7 @@ elseif(MSVC)
|
|||||||
# have reference type and must not be parenthesized
|
# have reference type and must not be parenthesized
|
||||||
add_definitions(/D_CRT_NO_VA_START_VALIDATION)
|
add_definitions(/D_CRT_NO_VA_START_VALIDATION)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT APPLE)
|
||||||
|
set(CMAKE_INSTALL_RPATH $ORIGIN)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user