mirror of
https://github.com/redstrate/Novus.git
synced 2025-07-06 16:57:45 +00:00
Try to copy runtime DLLs
This commit is contained in:
parent
77fbc300de
commit
fcde2109d7
1 changed files with 8 additions and 1 deletions
|
@ -30,4 +30,11 @@ qt_generate_deploy_app_script(
|
||||||
OUTPUT_SCRIPT deploy_script
|
OUTPUT_SCRIPT deploy_script
|
||||||
NO_UNSUPPORTED_PLATFORM_ERROR
|
NO_UNSUPPORTED_PLATFORM_ERROR
|
||||||
)
|
)
|
||||||
install(SCRIPT ${deploy_script})
|
install(SCRIPT ${deploy_script})
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
add_custom_command(TARGET novus-mdlviewer POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:novus-mdlviewer> ${CMAKE_INSTALL_BINDIR}
|
||||||
|
COMMAND_EXPAND_LISTS
|
||||||
|
)
|
||||||
|
endif()
|
Loading…
Add table
Reference in a new issue