diff --git a/cmake/cpack/deploy_mac.cmake.in b/cmake/cpack/deploy_mac.cmake.in index 55813274a..6a6c05175 100644 --- a/cmake/cpack/deploy_mac.cmake.in +++ b/cmake/cpack/deploy_mac.cmake.in @@ -37,12 +37,6 @@ foreach(RPATH_DIR_1 ${EXTERNAL_LIB_DIRS}) endforeach() endforeach() -execute_process ( COMMAND codesign -verify ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app/Contents/Frameworks/libusb-1.0.0.dylib ) -execute_process ( COMMAND codesign -dvv ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app/Contents/Frameworks/libusb-1.0.0.dylib ) - # Run macdeployqt which should copy all libraries and frameworks and Qt plugins and qml message ("Running macdeployqt in ${CPACK_TEMPORARY_INSTALL_DIRECTORY}") -execute_process ( COMMAND macdeployqt ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app -always-overwrite -verbose=3 -qmldir=@CMAKE_CURRENT_SOURCE_DIR@/../../plugins/ ) - -execute_process ( COMMAND codesign -verify ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app/Contents/Frameworks/libusb-1.0.0.dylib ) -execute_process ( COMMAND codesign -dvv ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app/Contents/Frameworks/libusb-1.0.0.dylib ) \ No newline at end of file +execute_process ( COMMAND macdeployqt ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/SDRangel.app -always-overwrite -verbose=1 -qmldir=@CMAKE_CURRENT_SOURCE_DIR@/../../plugins/ )