Added Instal QT Directory when building on windows

This commit is contained in:
BagelSketches 2025-07-03 18:12:04 +10:00
parent 32867d11a0
commit d6a5e0f135

View File

@ -649,6 +649,7 @@ if (ISLE_BUILD_CONFIG)
add_custom_command(TARGET isle-config POST_BUILD add_custom_command(TARGET isle-config POST_BUILD
COMMAND "${WINDEPLOYQT_EXECUTABLE}" COMMAND "${WINDEPLOYQT_EXECUTABLE}"
"$<TARGET_FILE:isle-config>" "$<TARGET_FILE:isle-config>"
"--dir QTLibs"
"--no-compiler-runtime" "--no-compiler-runtime"
"--no-opengl-sw" "--no-opengl-sw"
"--no-system-d3d-compiler" "--no-system-d3d-compiler"
@ -656,6 +657,7 @@ if (ISLE_BUILD_CONFIG)
"--no-quick-import" "--no-quick-import"
COMMENT "Running windeployqt with minimal dependencies" COMMENT "Running windeployqt with minimal dependencies"
) )
install(DIRECTORY QTLibs DESTINATION "${CMAKE_INSTALL_BINDIR}")
else() else()
message(WARNING "windeployqt not found.") message(WARNING "windeployqt not found.")
endif() endif()