Skip to content

Commit b959ff3

Browse files
authored
Merge pull request #1014 from cjcliffe/cjcliffe-macos-bundlemod-soapy-root-to-cmake-install-prefiox
Update CMakeLists.txt
2 parents e5149c2 + b3d25f6 commit b959ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,8 @@ IF (APPLE AND BUNDLE_APP)
787787
# SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
788788

789789
IF (BUNDLE_SOAPY_MODS)
790-
message(STATUS "SOAPY_ROOT: ${SOAPY_SDR_ROOT}")
791-
SET(SOAPY_SDR_MOD_PATH "${SOAPY_SDR_ROOT}/lib/SoapySDR/modules${SOAPY_SDR_ABI_VERSION}")
790+
message(STATUS "SOAPY_ROOT: ${CMAKE_INSTALL_PREFIX}")
791+
SET(SOAPY_SDR_MOD_PATH "${CMAKE_INSTALL_PREFIX}/lib/SoapySDR/modules${SOAPY_SDR_ABI_VERSION}")
792792
message(STATUS "SOAPY_SDR_MOD_PATH: ${SOAPY_SDR_MOD_PATH}")
793793

794794
file(GLOB SOAPY_MODS ${SOAPY_SDR_MOD_PATH}/*.so)

0 commit comments

Comments
 (0)