Skip to content

Commit

Permalink
Module bundling fix for OSX BUNDLE_APP
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcliffe committed May 13, 2017
1 parent 1bf7c22 commit 21a6d2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Expand Up @@ -767,9 +767,10 @@ 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}")
SET(SOAPY_SDR_MOD_PATH "${SOAPY_SDR_ROOT}/lib/SoapySDR/modules${SOAPY_SDR_ABI_VERSION}")
message(STATUS "SOAPY_SDR_MOD_PATH: ${SOAPY_SDR_MOD_PATH}")

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

FOREACH(SOAPY_MOD_FILE ${SOAPY_MODS})
INSTALL( FILES "${SOAPY_MOD_FILE}"
Expand Down

0 comments on commit 21a6d2b

Please sign in to comment.