mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-13 15:41:47 -05:00
Fix app bundle soapy module path mismatch (folder doesn't have suffix)
This commit is contained in:
parent
1d1532e1f5
commit
74b52f7b97
@ -784,7 +784,9 @@ IF (APPLE AND BUNDLE_APP)
|
||||
|
||||
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}")
|
||||
string(REPLACE "-" ";" SOAPY_SDR_ABI_VERSION_LIST ${SOAPY_SDR_ABI_VERSION})
|
||||
list(GET SOAPY_SDR_ABI_VERSION_LIST 0 SOAPY_SDR_MOD_DIR_SUFFIX)
|
||||
SET(SOAPY_SDR_MOD_PATH "${SOAPY_SDR_ROOT}/lib/SoapySDR/modules${SOAPY_SDR_MOD_DIR_SUFFIX}")
|
||||
message(STATUS "SOAPY_SDR_MOD_PATH: ${SOAPY_SDR_MOD_PATH}")
|
||||
|
||||
file(GLOB SOAPY_MODS ${SOAPY_SDR_MOD_PATH}/*.so)
|
||||
|
Loading…
Reference in New Issue
Block a user