forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[entityx] Fix osx build by enabling c++14
- Loading branch information
1 parent
74d385f
commit 3270a9a
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Source: entityx | ||
Version: 1.2.0-1 | ||
Version: 1.2.0-2 | ||
Description: EntityX - A fast, type-safe C++ Entity-Component system. <https://github.com/alecthomas/entityx> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters