Fixed Xcode build

This commit is contained in:
Daniel Wolf 2016-01-13 12:01:22 +01:00
parent e55cbd3bcf
commit cfd9ac9da2
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ set(appVersion "${appVersionMajor}.${appVersionMinor}.${appVersionPatch}${appVer
project(${appName})
# Enable C++14
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
endif()
@ -140,4 +140,4 @@ install(
DESTINATION .
)
include(CPack)
include(CPack)