mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
Require C++17
This commit is contained in:
1 parent
f9cf6b935a
commit
942f23ca0b
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user