Fixed Xcode build
This commit is contained in:
parent
e55cbd3bcf
commit
cfd9ac9da2
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue