Switched src/CMakeLists.txt to use C++17 by default to resolve issues with aligned_alloc

Fixes #344
This commit is contained in:
Adam Sawicki 2023-06-13 14:33:10 +02:00
parent 59734bbc63
commit 0aa3989b8f

View File

@ -17,8 +17,7 @@ set_target_properties(
VulkanMemoryAllocator PROPERTIES
CXX_EXTENSIONS OFF
# Use C++14
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
)
@ -85,8 +84,7 @@ if(VMA_BUILD_SAMPLE)
VmaSample PROPERTIES
CXX_EXTENSIONS OFF
# Use C++14
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
)