1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00

fix build on osx that broke with the recent cmake refactor

This commit is contained in:
fgenesis 2022-06-25 03:51:13 +02:00
parent cfba5d7d4a
commit 74d37873f7

View file

@ -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)
ENDIF(NOT CMAKE_BUILD_TYPE)
# System fixups
IF(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
SET(HAIKU TRUE)
ENDIF()
IF(APPLE)
SET(MACOSX TRUE)
ENDIF(APPLE)
# Recommended compiler flags that cmake doesn't set automatically
if(MSVC)
# /MP: parallel builds