diff --git a/CMakeLists.txt b/CMakeLists.txt index 13645ab1..d93021c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,6 @@ if(NOT CMAKE_BUILD_TYPE) FORCE) endif() -set(CMAKE_CXX_STANDARD 14) -add_compile_options(-Wall -Werror) - # Hack for missing option in cctz option(BUILD_TESTING "" OFF) @@ -30,5 +27,9 @@ target_include_directories(yaml-cpp PUBLIC $ ) +# Set the CXX standard and compile time for our code only. +set(CMAKE_CXX_STANDARD 14) +add_compile_options(-Wall -Werror) + add_subdirectory(lib) add_subdirectory(tools)