From 74d161e717379711e665e1d1ea5a609fbef7c931 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Fri, 27 May 2022 17:18:57 -0700 Subject: [PATCH] CMake updated to require clients use C++11 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6eed9bc..b7d43bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,8 @@ target_include_directories(${PROJECT_NAME} PUBLIC $ $) +target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11) + if ((${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16") AND (NOT MINGW)) target_precompile_headers(${PROJECT_NAME} PRIVATE DirectXMesh/DirectXMeshP.h) endif()