skypjack 3 mesi fa
parent
commit
c84ff3bcd8
3 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 1 1
      CMakeLists.txt
  2. 1 1
      README.md
  3. 4 4
      test/CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -93,7 +93,7 @@ target_include_directories(
         $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
 )
 
-target_compile_features(EnTT INTERFACE cxx_std_17)
+target_compile_features(EnTT INTERFACE cxx_std_20)
 
 if(ENTT_HAS_LIBCPP)
     target_compile_options(EnTT BEFORE INTERFACE -stdlib=libc++)

+ 1 - 1
README.md

@@ -217,7 +217,7 @@ the include paths.
 ## Requirements
 
 To be able to use `EnTT`, users must provide a full-featured compiler that
-supports at least C++17.<br/>
+supports at least C++20.<br/>
 The requirements below are mandatory to compile the tests and to extract the
 documentation:
 

+ 4 - 4
test/CMakeLists.txt

@@ -21,16 +21,16 @@ else()
 
     add_library(GTest::Main ALIAS gtest_main)
 
-    target_compile_features(gtest PUBLIC cxx_std_17)
+    target_compile_features(gtest PUBLIC cxx_std_20)
     set_target_properties(gtest PROPERTIES CXX_CLANG_TIDY "")
 
-    target_compile_features(gtest_main PUBLIC cxx_std_17)
+    target_compile_features(gtest_main PUBLIC cxx_std_20)
     set_target_properties(gtest_main PROPERTIES CXX_CLANG_TIDY "")
 
-    target_compile_features(gmock PUBLIC cxx_std_17)
+    target_compile_features(gmock PUBLIC cxx_std_20)
     set_target_properties(gmock PROPERTIES CXX_CLANG_TIDY "")
 
-    target_compile_features(gmock_main PUBLIC cxx_std_17)
+    target_compile_features(gmock_main PUBLIC cxx_std_20)
     set_target_properties(gmock_main PROPERTIES CXX_CLANG_TIDY "")
 endif()