diff --git a/CMakeLists.txt b/CMakeLists.txt index da46c53..468acdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ include("cmake_generated/cmake_generated.cmake") add_compile_options( ${cpu_PARAMS} ${compiler_OPTS} + -std=c2x -Wall -Wextra -Wpedantic @@ -147,7 +148,6 @@ target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -Wextra -Werror -Wpedantic - -std=c2x ) # Compiler options