Fix build on Mac

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8883 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2023-04-17 13:40:26 +00:00
parent 7bd2fa80f4
commit d1442d43a0
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ IF(POLICY CMP0072)
CMAKE_POLICY(SET CMP0072 NEW)
ENDIF(POLICY CMP0072)
IF(APPLE)
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD_REQUIRED True)
ENDIF(APPLE)
IF(NOT ${CMAKE_VERSION} VERSION_LESS "3.0.2")
# Speed Dreams project
PROJECT(speed-dreams-2 VERSION 2.4.0)