diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a20152c83ccaf5a3bd94cbe5a927499df14bd6d..8ccfc430544e2b391f438f7ecf10860ae127da14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ add_compile_options(-Wextra) add_compile_options(-Wpedantic) message(STATUS "Compiler version: ${CMAKE_CXX_COMPILER_VERSION}") if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0) + add_compile_options(-fconcepts) #turn warnings about dangerous stuff into errors add_compile_options(-Werror) add_compile_options(-Wno-error=unused-but-set-variable)