mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
CMake avoid setting 32-bit arch on macOS which doesn't support it anymore
This commit is contained in:
parent
ffd5dadc04
commit
116f3d6753
@ -15,9 +15,13 @@ IF (UNIX)
|
||||
SET (D3_GAMEDIR "~/Descent3/")
|
||||
|
||||
SET(CMAKE_CXX_COMPILER "g++")
|
||||
SET(CMAKE_CXX_FLAGS "-O0 -g -Wno-write-strings -Wno-multichar -m32 -Wno-address-of-temporary")
|
||||
SET(CMAKE_C_FLAGS "-O0 -g -m32")
|
||||
SET(CMAKE_CXX_FLAGS "-O0 -g -Wno-write-strings -Wno-multichar -Wno-address-of-temporary")
|
||||
SET(CMAKE_C_FLAGS "-O0 -g")
|
||||
SET(CMAKE_C_COMPILER "gcc")
|
||||
IF (NOT APPLE)
|
||||
LIST(APPEND CMAKE_CXX_FLAGS "-m32")
|
||||
LIST(APPEND CMAKE_C_FLAGS "-m32")
|
||||
ENDIF()
|
||||
FIND_PACKAGE( SDL REQUIRED )
|
||||
IF (APPLE)
|
||||
# Provide FIND_PACKAGE( SDL_image ) below with an include dir and library that work with brew-installed sdl2_image
|
||||
|
Loading…
Reference in New Issue
Block a user