Browse Source

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

Co-authored-by: Shriram <“[email protected]”>
Shriram Ravindranathan 3 years ago
parent
commit
8731cc2914
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/example_glfw_vulkan/CMakeLists.txt

+ 1 - 0
examples/example_glfw_vulkan/CMakeLists.txt

@@ -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")