mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge pull request #1842 from wasphin/feature/apple-m1
Fix build on apple M1
This commit is contained in:
commit
d9d33b8522
@ -183,6 +183,12 @@ elseif(WIN32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
|
||||
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||
include_directories(SYSTEM "/opt/homebrew/include")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# mediakit 以及各个 runtime 依赖
|
||||
update_cached_list(MK_LINK_LIBRARIES "")
|
||||
update_cached_list(MK_COMPILE_DEFINITIONS ENABLE_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user