Require C++17

This commit is contained in:
Chris Thrasher authored and Lukas Dürrenberger committed 2024-02-19 23:30:30 +01:00
1 parent f9cf6b935a
commit 942f23ca0b
1 file changed
+3
+3
View File
@@ -19,6 +19,9 @@ macro(csfml_add_library target)
# add warnings
set_file_warnings(${THIS_SOURCES})
# require C++17
target_compile_features(${target} PUBLIC cxx_std_17)
# define the export symbol of the module
string(REPLACE "-" "_" NAME_UPPER "${target}")
string(TOUPPER "${NAME_UPPER}" NAME_UPPER)