diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cd2b59..7810c5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,10 @@ set(STATICC TRUE) include(CMakeLists.txt.in) include_pkmnlib() +if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + add_compile_options(-fconcepts) +endif () + file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp) add_executable(PokemonScriptTester ${SRC_FILES}) target_precompile_headers(PokemonScriptTester PUBLIC src/Precompiled.hxx)