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

Set standard as cache variable

parent 3776128a
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,9 @@ set(
FILEPATH
"Default toolchain"
)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
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