JKQtPlotter/cmake/jkqtplotter_common_compilersettings.cmake
jkriege2 52d3349199 improvements in CMake setup:
- removed more global settings (these are now target-specific)
- exporting now Config.cmake, which contains find_package(Qt) and loads a separate Targets.cmake
2020-06-28 15:53:26 +02:00

10 lines
181 B
CMake

cmake_minimum_required(VERSION 3.1)
# configure compiler
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED on)
if(NOT APPLE)
set(CMAKE_INSTALL_RPATH $ORIGIN)
endif()