Merge pull request #1014 from cjcliffe/cjcliffe-macos-bundlemod-soapy-root-to-cmake-install-prefiox

Update CMakeLists.txt
This commit is contained in:
Charles J. Cliffe 2023-10-27 01:06:03 -04:00 committed by GitHub
commit b959ff3f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -787,8 +787,8 @@ IF (APPLE AND BUNDLE_APP)
# SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
IF (BUNDLE_SOAPY_MODS)
message(STATUS "SOAPY_ROOT: ${SOAPY_SDR_ROOT}")
SET(SOAPY_SDR_MOD_PATH "${SOAPY_SDR_ROOT}/lib/SoapySDR/modules${SOAPY_SDR_ABI_VERSION}")
message(STATUS "SOAPY_ROOT: ${CMAKE_INSTALL_PREFIX}")
SET(SOAPY_SDR_MOD_PATH "${CMAKE_INSTALL_PREFIX}/lib/SoapySDR/modules${SOAPY_SDR_ABI_VERSION}")
message(STATUS "SOAPY_SDR_MOD_PATH: ${SOAPY_SDR_MOD_PATH}")
file(GLOB SOAPY_MODS ${SOAPY_SDR_MOD_PATH}/*.so)