build-macos: fix zstd link path
This commit is contained in:
+3
-1
@@ -492,7 +492,7 @@ if (TARGET Boost::Boost)
|
|||||||
add_library(boost ALIAS Boost::Boost)
|
add_library(boost ALIAS Boost::Boost)
|
||||||
elseif (TARGET Boost::boost)
|
elseif (TARGET Boost::boost)
|
||||||
set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE)
|
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()
|
endif()
|
||||||
|
|
||||||
# Ensure libusb is properly configured (based on dolphin libusb include)
|
# Ensure libusb is properly configured (based on dolphin libusb include)
|
||||||
@@ -563,6 +563,8 @@ if (APPLE)
|
|||||||
find_library(IOK_LIBRARY IOKit)
|
find_library(IOK_LIBRARY IOKit)
|
||||||
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
|
set(PLATFORM_LIBRARIES ${COCOA_LIBRARY} ${IOKIT_LIBRARY} ${COREVIDEO_LIBRARY})
|
||||||
set(SDL_FILE ON)
|
set(SDL_FILE ON)
|
||||||
|
|
||||||
|
include_directories("/usr/local/opt/zstd/include")
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
# WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista)
|
# WSAPoll and SHGetKnownFolderPath (AppData/Roaming) didn't exist before WinNT 6.x (Vista)
|
||||||
add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600)
|
add_definitions(-D_WIN32_WINNT=0x0600 -DWINVER=0x0600)
|
||||||
|
|||||||
Reference in New Issue
Block a user