From 8731cc2914a4c08f555bf70d93b54658d5d942ce Mon Sep 17 00:00:00 2001 From: Shriram Ravindranathan <49370927+notshriram@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:52:46 +0530 Subject: [PATCH] Examples: Vulkan: Add c++ version to CMakeLists (#5459) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Shriram <“shriram.r@technovert.com”> --- examples/example_glfw_vulkan/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/example_glfw_vulkan/CMakeLists.txt b/examples/example_glfw_vulkan/CMakeLists.txt index 55a80402..a6e5bf91 100644 --- a/examples/example_glfw_vulkan/CMakeLists.txt +++ b/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")