diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/ci-macos.yml index ceb9fad06f..7917e9cb44 100644 --- a/.github/workflows/ci-macos.yml +++ b/.github/workflows/ci-macos.yml @@ -49,7 +49,7 @@ jobs: - name: Install Dependencies run: | - brew install tree libiodbc libpq + brew install tree libiodbc libpq optool - name: Fix SQL run: | diff --git a/src/CPackMacDeployQt.cmake.in b/src/CPackMacDeployQt.cmake.in index 890a1b54fb..b9003ddf08 100644 --- a/src/CPackMacDeployQt.cmake.in +++ b/src/CPackMacDeployQt.cmake.in @@ -1,4 +1,4 @@ -execute_process(COMMAND "codesign" --remove-signature ${CMAKE_CURRENT_BINARY_DIR}/VNote.app +execute_process(COMMAND "optool" strip -t ${CMAKE_CURRENT_BINARY_DIR}/VNote.app WORKING_DIRECTORY ${CPACK_PACKAGE_DIRECTORY} ) execute_process(COMMAND "${MACDEPLOYQT_EXECUTABLE}" ${CMAKE_CURRENT_BINARY_DIR}/VNote.app -dmg