sdrangel: fix build on x86_64-darwin
[NixPkgs.git] / pkgs / tools / filesystems / android-file-transfer / darwin-dont-vendor-dependencies.patch
blob6e0f38582cc7d3bba9f8d7a905c83aa5be48848a
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8b05ab0..81e31f5 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -236,16 +236,6 @@ endif()
7 if (''${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
8 set(MACOSX_BUNDLE_LIBS)
9 - if (OPENSSL_FOUND)
10 - list(APPEND MACOSX_BUNDLE_LIBS /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib)
11 - endif()
12 - if (TAGLIB_FOUND)
13 - list(APPEND MACOSX_BUNDLE_LIBS /usr/local/opt/taglib/lib/libtag.1.dylib)
14 - endif()
15 - if (FUSE_FOUND)
16 - list(APPEND MACOSX_BUNDLE_LIBS /usr/local/lib/libosxfuse.2.dylib)
17 - endif()
19 set(MACOSX_BUNDLE_LIBS_INSTALL)
20 set(MACOSX_BUNDLE_ROOT_DIR "''${CMAKE_INSTALL_PREFIX}/''${CMAKE_PROJECT_NAME}.app")
21 message(STATUS "bundle root dir: ''${MACOSX_BUNDLE_ROOT_DIR}")