mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 13:48:43 +02:00
fail out if windeployqt is not found
This commit is contained in:
parent
a9fcde6265
commit
1c2606c6db
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ macro(COPY_DLLS_BESIDE_WINDOWS_EXECUTABLE)
|
|||
)
|
||||
|
||||
find_program(WINDEPLOYQT_COMMAND windeployqt PATHS ${QT_DIR}/bin NO_DEFAULT_PATH)
|
||||
|
||||
if (NOT WINDEPLOYQT_COMMAND)
|
||||
message(FATAL_ERROR "Could not find windeployqt at ${QT_DIR}/bin. windeployqt is required.")
|
||||
endif ()
|
||||
|
||||
# add a post-build command to call windeployqt to copy Qt plugins
|
||||
add_custom_command(
|
||||
|
|
Loading…
Reference in a new issue