mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +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()
|
endif()
|
||||||
|
|
||||||
enable_language(ASM)
|
enable_language(ASM)
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
|
|
||||||
|
|
||||||
add_definitions(-D__STDC_CONSTANT_MACROS)
|
add_definitions(-D__STDC_CONSTANT_MACROS)
|
||||||
|
|
||||||
@ -61,8 +60,6 @@ if(CMAKE_SYSTEM_PROCESSOR)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(ccache)
|
|
||||||
|
|
||||||
# the libraries in the ffmpeg/ directory are not compatible with mingw
|
# the libraries in the ffmpeg/ directory are not compatible with mingw
|
||||||
if(MINGW AND NOT DEFINED USE_SYSTEM_FFMPEG)
|
if(MINGW AND NOT DEFINED USE_SYSTEM_FFMPEG)
|
||||||
set(USE_SYSTEM_FFMPEG ON)
|
set(USE_SYSTEM_FFMPEG ON)
|
||||||
@ -93,6 +90,14 @@ if(ANDROID OR WIN32 OR (UNIX AND NOT ARM_NO_VULKAN))
|
|||||||
set(VULKAN ON)
|
set(VULKAN ON)
|
||||||
endif()
|
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)
|
if(GOLD)
|
||||||
add_definitions(-DGOLD)
|
add_definitions(-DGOLD)
|
||||||
message("Gold Build")
|
message("Gold Build")
|
||||||
|
Loading…
Reference in New Issue
Block a user