Examples: Vulkan: Add c++ version to CMakeLists (#5459)

Co-authored-by: Shriram <“shriram.r@technovert.com”>
This commit is contained in:
Shriram Ravindranathan 2022-07-10 21:52:46 +05:30 committed by GitHub
parent 1480bc5d4e
commit 8731cc2914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)
endif()
set(CMAKE_CXX_STANDARD 11)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DVK_PROTOTYPES")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DVK_PROTOTYPES")