Skip to content
Snippets Groups Projects
Verified Commit a874aabb authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Changed flags to fix GCC C++20 support

parent 8639be05
No related branches found
No related tags found
No related merge requests found
Pipeline #27489 failed
...@@ -43,7 +43,7 @@ if (vkcv_build_debug) ...@@ -43,7 +43,7 @@ if (vkcv_build_debug)
endif() endif()
if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0.0")) if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0.0"))
set(vkcv_flags ${vkcv_flags} " -std=c++2a") set(vkcv_flags ${vkcv_flags} " -std=c++2a -std=gnu++2a")
endif() endif()
# configure everything to use the required dependencies # configure everything to use the required dependencies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment