build-macos: fix zstd link path

This commit is contained in:
sguo35
2022-03-27 20:14:57 -07:00
parent b3e844f5cd
commit 4ff304e75b

View File

@@ -492,7 +492,7 @@ if (TARGET Boost::Boost)
add_library(boost ALIAS Boost::Boost)
elseif (TARGET Boost::boost)
set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE)
add_library(boost ALIAS Boost::boost)
add_library(boost ALIAS Boost::boost src/common/apple_compat/appleCompat.h)
endif()
# Ensure libusb is properly configured (based on dolphin libusb include)
@@ -563,6 +563,8 @@ if (APPLE)
find_library(IOK_LIBRARY IOKit)
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
set(SDL_FILE ON)
include_directories("/usr/local/opt/zstd/include")
elseif (WIN32)
# WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista)
add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600)