vcpkg/ports/entityx/enable-std14.patch

13 lines
422 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 23f5063..1fa10b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,6 +24,7 @@ set(ENTITYX_BUILD_SHARED true CACHE BOOL "Build shared libraries?")
include(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
include(CheckCXXSourceCompiles)
+set(CMAKE_CXX_STANDARD 14)
# Default compiler args
if(0)
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "(GNU|.*Clang)")