MINGW-packages/mingw-w64-neovim-qt/001-disable-deployment.patch
مهدي شينون (Mehdi Chinoune) 94bd5ae29f neovim-qt: Disable deployment.
2023-04-07 16:04:35 +01:00

12 lines
483 B
Diff

--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -109,7 +10915,7 @@
DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps/)
endif()
-if(WIN32 AND NOT CMAKE_CROSSCOMPILING AND NOT DEFINED USE_STATIC_QT)
+if(MSVC AND NOT CMAKE_CROSSCOMPILING AND NOT DEFINED USE_STATIC_QT)
include(WinDeployQt)
WinDeployQt(TARGET nvim-qt COMPILER_RUNTIME INCLUDE_MODULES ${QTLIBS} EXCLUDE_MODULES webkit webkit2)
install(DIRECTORY ${PROJECT_BINARY_DIR}/windeployqt/