From 0ca5552747ee4108de2202e34a68a151b9f0cff0 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Wed, 1 Oct 2025 08:54:22 +0100 Subject: [PATCH] Add ${binary_dir}/src to MACOS_EXTERNAL_LIBS_FIXUP for HackRF --- external/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 7fb066701..887286bdb 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -1414,7 +1414,7 @@ if (WIN32 OR APPLE) set(LIBHACKRF_LIBRARIES "${binary_dir}/src/libhackrf${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "") # include "libhackrf/hackrf.h" makeLink("${source_dir}/host/libhackrf/src" "${source_dir}/host/libhackrf/libhackrf" hackrf) - set(MACOS_EXTERNAL_LIBS_FIXUP "${MACOS_EXTERNAL_LIBS_FIXUP};${binary_dir}/") + set(MACOS_EXTERNAL_LIBS_FIXUP "${MACOS_EXTERNAL_LIBS_FIXUP};${binary_dir}/src") install(DIRECTORY "${binary_dir}/src/" DESTINATION "${INSTALL_LIB_DIR}" FILES_MATCHING PATTERN "libhackrf*${CMAKE_SHARED_LIBRARY_SUFFIX}") endif ()