diff --git a/CMakeLists.txt b/CMakeLists.txt index 096def9..a8726c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,4 +13,5 @@ FetchContent_Declare(SFML FetchContent_MakeAvailable(SFML) add_executable(main src/main.cpp) +target_compile_features(main PRIVATE cxx_std_17) target_link_libraries(main PRIVATE SFML::Graphics)