We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4df65ca commit a0112f9Copy full SHA for a0112f9
src/app/CMakeLists.txt
@@ -84,10 +84,10 @@ if (Qt6_FOUND AND WIN32)
84
add_custom_command(
85
TARGET scantailor
86
POST_BUILD
87
- COMMAND ${QT_BINDIR}/windeployqt $<TARGET_FILE_DIR:scantailor>
+ COMMAND ${QT_BINDIR}/windeployqt $<TARGET_FILE:scantailor>
88
COMMENT "deploy qt files alongside binary (e.g. plugins)"
89
)
90
- install(CODE "execute_process(COMMAND ${QT_BINDIR}/windeployqt ${CMAKE_INSTALL_PREFIX})")
+ install(CODE "execute_process(COMMAND \"${QT_BINDIR}/windeployqt\" \"\$\{CMAKE_INSTALL_PREFIX\}\")")
91
endif()
92
93
translation_sources(scantailor ${gui_only_sources} ${gui_only_ui_files})
0 commit comments