From ca951b0701f806c58670fa5d7ef880420eb5dbd2 Mon Sep 17 00:00:00 2001 From: BagelSketches <112355083+BagelSketches@users.noreply.github.com> Date: Fri, 4 Jul 2025 11:10:15 +1000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99d7d00f..d2e377c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -644,7 +644,6 @@ install(TARGETS isle ${install_extra_targets} LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ) if (ISLE_BUILD_CONFIG) - file(GLOB_RECURSE QT_LIBRARIES "${CMAKE_INSTALL_BINDIR}/QTLibs/*") find_program(WINDEPLOYQT_EXECUTABLE windeployqt) if(WINDEPLOYQT_EXECUTABLE) add_custom_command(TARGET isle-config POST_BUILD @@ -659,6 +658,7 @@ if (ISLE_BUILD_CONFIG) "--no-quick-import" COMMENT "Running windeployqt with minimal dependencies" ) + file(GLOB_RECURSE QT_LIBRARIES "${CMAKE_INSTALL_BINDIR}/QTLibs/*") install(FILES "${QT_LIBRARIES}" DESTINATION "${CMAKE_INSTALL_BINDIR}") else() message(WARNING "windeployqt not found.")