aports/testing/organicmaps/no-macdeployqt.patch
Achill Gilgenast 925803b6e2 testing/organicmaps: new aport
https://organicmaps.app/
Free offline maps app
2025-10-20 12:21:08 +02:00

21 lines
780 B
Diff

diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt
index 1746ed98fd90..e11227b4aeb1 100644
--- a/qt/CMakeLists.txt
+++ b/qt/CMakeLists.txt
@@ -247,14 +247,6 @@ if (BUILD_DESIGNER)
set(CPACK_DMG_VOLUME_NAME ${BUNDLE_NAME})
set(CPACK_PACKAGE_ICON ${PROJECT_SOURCE_DIR}/res/mac/designer.icns)
include(CPack)
-elseif (BUILD_STANDALONE)
- add_custom_command(TARGET desktop POST_BUILD
- COMMAND "${QT_PATH}/bin/macdeployqt" ${BUNDLE_FOLDER}
- COMMAND ${Python3_EXECUTABLE} "${OMIM_ROOT}/tools/macdeployqtfix/macdeployqtfix.py" -q -nl ${BUNDLE_FOLDER}/Contents/MacOS/${BUNDLE_NAME} ${QT_PATH}
- COMMAND echo "Fixing Qt dependencies finished."
- VERBATIM
- COMMENT "Fixing Qt dependencies for standalone desktop app"
- )
endif()
add_subdirectory(qt_common)