Skip to content

Commit 11ce8dc

Browse files
committed
Specify C++17 requirement explicitly
1 parent 0d7dd8d commit 11ce8dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ FetchContent_Declare(SFML
1313
FetchContent_MakeAvailable(SFML)
1414

1515
add_executable(main src/main.cpp)
16+
target_compile_features(main PRIVATE cxx_std_17)
1617
target_link_libraries(main PRIVATE SFML::Graphics)

0 commit comments

Comments
 (0)