Skip to content

Commit 0aa3989

Browse files
Switched src/CMakeLists.txt to use C++17 by default to resolve issues with aligned_alloc
Fixes #344
1 parent 59734bb commit 0aa3989

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ set_target_properties(
1717
VulkanMemoryAllocator PROPERTIES
1818

1919
CXX_EXTENSIONS OFF
20-
# Use C++14
21-
CXX_STANDARD 14
20+
CXX_STANDARD 17
2221
CXX_STANDARD_REQUIRED ON
2322
)
2423

@@ -85,8 +84,7 @@ if(VMA_BUILD_SAMPLE)
8584
VmaSample PROPERTIES
8685

8786
CXX_EXTENSIONS OFF
88-
# Use C++14
89-
CXX_STANDARD 14
87+
CXX_STANDARD 17
9088
CXX_STANDARD_REQUIRED ON
9189
)
9290

0 commit comments

Comments
 (0)