Add non-intaller bundle windows install target

This commit is contained in:
Charles J. Cliffe 2016-02-19 20:31:14 -05:00
parent 549b03bdc3
commit 3fff5e19fe

View File

@ -730,6 +730,19 @@ IF(APPLE AND NOT BUNDLE_APP)
ENDIF ()
IF (WIN32 AND NOT BUILD_INSTALLER)
ADD_DEFINITIONS(
-DRES_FOLDER="../share/cubicsdr/"
)
INSTALL(TARGETS CubicSDR DESTINATION bin)
install(FILES
${CUBICSDR_RESOURCES}
${PROJECT_SOURCE_DIR}/src/CubicSDR.png
DESTINATION share/cubicsdr)
ENDIF()
IF (WIN32 AND BUILD_INSTALLER)
set(BUNDLE_SOAPY_MODS OFF CACHE BOOL "Bundle local SoapySDR modules")