From 13dfb0884a827bef27bb8d410842a8698ffa1a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Tue, 14 Jan 2025 16:20:33 +0100 Subject: [PATCH] Specify C++17 requirement explicitly --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)