-
-
Notifications
You must be signed in to change notification settings - Fork 488
Description
I've installed minizip-ng v4.0.10 from Homebrew and tried to use it in a CMake project. Configure step succeeds, but when I try to build something (used Ninja), I get:
ninja: error: '/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libz.tbd', needed by 'bin/libvcmi.dylib', missing and no known rule to make it
CMake trace output for configure step revealed this:
/usr/local/lib/cmake/minizip-ng/minizip-ng.cmake(61): set_target_properties(MINIZIP::minizip-ng PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${_IMPORT_PREFIX}/include/minizip-ng;${_IMPORT_PREFIX}/include/minizip-ng INTERFACE_LINK_DIRECTORIES /usr/local/Cellar/xz/5.8.1/lib;/usr/local/opt/zstd/lib INTERFACE_LINK_LIBRARIES /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libz.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libbz2.tbd;lzma;zstd;/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/CoreFoundation.framework;/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/Security.framework;/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/lib/libiconv.tbd )