mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-03 18:14:01 +00:00
fix build on osx that broke with the recent cmake refactor
This commit is contained in:
parent
cfba5d7d4a
commit
74d37873f7
1 changed files with 5 additions and 0 deletions
|
@ -12,10 +12,15 @@ IF(NOT CMAKE_BUILD_TYPE)
|
||||||
SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build (Debug, RelWithDebInfo, Release)" FORCE)
|
SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build (Debug, RelWithDebInfo, Release)" FORCE)
|
||||||
ENDIF(NOT CMAKE_BUILD_TYPE)
|
ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
|
# System fixups
|
||||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
|
IF(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
|
||||||
SET(HAIKU TRUE)
|
SET(HAIKU TRUE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
IF(APPLE)
|
||||||
|
SET(MACOSX TRUE)
|
||||||
|
ENDIF(APPLE)
|
||||||
|
|
||||||
# Recommended compiler flags that cmake doesn't set automatically
|
# Recommended compiler flags that cmake doesn't set automatically
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# /MP: parallel builds
|
# /MP: parallel builds
|
||||||
|
|
Loading…
Add table
Reference in a new issue