Skip to content
Snippets Groups Projects
Commit 247539cb authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Set cxx standard as cache variable for when toolchain file is not used

parent 937b35ca
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,9 @@ set(
CACHE
FILEPATH "Default toolchain"
)
set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard")
set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE BOOL "Require C++ standard to be supported")
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "compile as PIC by default")
option(HUNTER_ENABLED "Enable Hunter package manager" OFF)
include("cmake/HunterGate.cmake")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment