diff --git a/src/Packaging.cmake b/src/Packaging.cmake index 3e967da4eb..31ceede721 100644 --- a/src/Packaging.cmake +++ b/src/Packaging.cmake @@ -16,8 +16,6 @@ find_program(MACDEPLOYQT_EXECUTABLE macdeployqt HINTS "${QT_BIN_DIR}") find_program(MACDEPLOYQTFIX_EXECUTABLE macdeployqtfix.py HINTS "${QT_BIN_DIR}") find_package(Python) -mark_as_advanced(WINDEPLOYQT_EXECUTABLE LINUXDEPLOY_EXECUTABLE MACDEPLOYQT_EXECUTABLE) - function(windeployqt target) # Bundle Library Files string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UPPER) @@ -30,6 +28,9 @@ function(windeployqt target) endif() endif() + message(INFO " debug: ${WINDEPLOYQT_EXECUTABLE}") + message(INFO " debug: ${QT_TOOLS_DIR}") + add_custom_target(deploy COMMAND "${CMAKE_COMMAND}" -E remove_directory "${CMAKE_CURRENT_BINARY_DIR}/winqt/" COMMAND "${CMAKE_COMMAND}" -E