mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Switched src/CMakeLists.txt to use C++17 by default to resolve issues with aligned_alloc
Fixes #344
This commit is contained in:
parent
59734bbc63
commit
0aa3989b8f
@ -17,8 +17,7 @@ set_target_properties(
|
|||||||
VulkanMemoryAllocator PROPERTIES
|
VulkanMemoryAllocator PROPERTIES
|
||||||
|
|
||||||
CXX_EXTENSIONS OFF
|
CXX_EXTENSIONS OFF
|
||||||
# Use C++14
|
CXX_STANDARD 17
|
||||||
CXX_STANDARD 14
|
|
||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -85,8 +84,7 @@ if(VMA_BUILD_SAMPLE)
|
|||||||
VmaSample PROPERTIES
|
VmaSample PROPERTIES
|
||||||
|
|
||||||
CXX_EXTENSIONS OFF
|
CXX_EXTENSIONS OFF
|
||||||
# Use C++14
|
CXX_STANDARD 17
|
||||||
CXX_STANDARD 14
|
|
||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user