From bb40388d3466fb272a481965e49c211cdf978ea4 Mon Sep 17 00:00:00 2001 From: mocabe Date: Wed, 29 Jan 2020 15:11:11 +0900 Subject: [PATCH] CMake: Set CMAKE_CXX_STANDARD to 11 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79c48c2..facc7bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,8 @@ else(MSVC) add_compile_options(-Wall) endif(MSVC) +set(CMAKE_CXX_STANDARD 11) + if (NOT DEFINED VULKAN_HPP_VULKAN_HEADERS_SRC_DIR) set(VULKAN_HPP_VULKAN_HEADERS_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Vulkan-Headers") endif()