Fix build on Mac

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8883 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a15c6026767444f296c32d675913166f6a57fd2f
Former-commit-id: 1c07da907f61e4792a0b0981574c1246f49c0cec
This commit is contained in:
beaglejoe 2023-04-17 13:40:26 +00:00
parent e6a088dc68
commit d69955106b

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)