Update tests to require a C++17 compiler
authorCharles Giessen <charles@lunarg.com>
Fri, 16 Jun 2023 21:09:00 +0000 (15:09 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 20 Jun 2023 19:49:58 +0000 (13:49 -0600)
BUILD.md
CMakeLists.txt

index 7cee014..c8cbd9c 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -86,7 +86,7 @@ indicated by *install_dir*:
 
 ### Test Requirements
 
-1. `C++11` capable compiler
+1. `C++17` capable compiler
 
 ## Repository Set-Up
 
index a10ce15..1a78afa 100644 (file)
@@ -145,9 +145,9 @@ target_link_libraries(loader_common_options INTERFACE platform_wsi)
 target_compile_definitions(loader_common_options INTERFACE VK_ENABLE_BETA_EXTENSIONS)
 
 target_compile_features(loader_common_options INTERFACE c_std_99)
-target_compile_features(loader_common_options INTERFACE cxx_std_11)
+target_compile_features(loader_common_options INTERFACE cxx_std_17)
 set(LOADER_STANDARD_C_PROPERTIES C_STANDARD 99 C_STANDARD_REQUIRED YES C_EXTENSIONS OFF)
-set(LOADER_STANDARD_CXX_PROPERTIES CXX_STANDARD 11 CXX_STANDARD_REQUIRED YES CXX_EXTENSIONS OFF)
+set(LOADER_STANDARD_CXX_PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED YES CXX_EXTENSIONS OFF)
 
 set(TESTS_STANDARD_CXX_PROPERTIES ${LOADER_STANDARD_CXX_PROPERTIES} MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")