mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
Safer hack to build on M1.
This commit is contained in:
parent
5126c91a81
commit
90f8799065
@ -9,7 +9,6 @@ if(NOT ANDROID)
|
||||
endif()
|
||||
|
||||
enable_language(ASM)
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
||||
|
||||
add_definitions(-D__STDC_CONSTANT_MACROS)
|
||||
|
||||
@ -61,8 +60,6 @@ if(CMAKE_SYSTEM_PROCESSOR)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(ccache)
|
||||
|
||||
# the libraries in the ffmpeg/ directory are not compatible with mingw
|
||||
if(MINGW AND NOT DEFINED USE_SYSTEM_FFMPEG)
|
||||
set(USE_SYSTEM_FFMPEG ON)
|
||||
@ -93,6 +90,14 @@ if(ANDROID OR WIN32 OR (UNIX AND NOT ARM_NO_VULKAN))
|
||||
set(VULKAN ON)
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
||||
if(NOT (ARM64 AND MACOSX))
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/sdl)
|
||||
endif()
|
||||
|
||||
include(ccache)
|
||||
|
||||
|
||||
if(GOLD)
|
||||
add_definitions(-DGOLD)
|
||||
message("Gold Build")
|
||||
|
Loading…
Reference in New Issue
Block a user