Skip to content

Commit

Permalink
exclude ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Baiyuetribe committed Jul 15, 2023
1 parent acbafcd commit 540e930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ if(NCNN_VULKAN)

target_link_libraries(ncnn PUBLIC Vulkan::Vulkan)
# Support mac platform static library compilation
if(NOT NCNN_SHARED_LIB AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
if(NOT NCNN_SHARED_LIB AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_SYSTEM_NAME STREQUAL "iOS")
find_library(CoreFoundation NAMES CoreFoundation)
find_library(Foundation NAMES Foundation)
find_library(QuartzCore NAMES QuartzCore)
Expand Down

0 comments on commit 540e930

Please sign in to comment.