mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
2f4cfbef08
commit
32110cfac9
@ -644,6 +644,7 @@ install(TARGETS isle ${install_extra_targets}
|
|||||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||||
)
|
)
|
||||||
if (ISLE_BUILD_CONFIG)
|
if (ISLE_BUILD_CONFIG)
|
||||||
|
file(GLOB_RECURSE QT_LIBRARIES "${CMAKE_INSTALL_BINDIR}/QTLibs/*")
|
||||||
find_program(WINDEPLOYQT_EXECUTABLE windeployqt)
|
find_program(WINDEPLOYQT_EXECUTABLE windeployqt)
|
||||||
if(WINDEPLOYQT_EXECUTABLE)
|
if(WINDEPLOYQT_EXECUTABLE)
|
||||||
add_custom_command(TARGET isle-config POST_BUILD
|
add_custom_command(TARGET isle-config POST_BUILD
|
||||||
@ -658,7 +659,7 @@ if (ISLE_BUILD_CONFIG)
|
|||||||
"--no-quick-import"
|
"--no-quick-import"
|
||||||
COMMENT "Running windeployqt with minimal dependencies"
|
COMMENT "Running windeployqt with minimal dependencies"
|
||||||
)
|
)
|
||||||
install(FILES "${CMAKE_INSTALL_BINDIR}/QTLibs/*" DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
install(FILES GLOB_RECURSE "${CMAKE_INSTALL_BINDIR}/QTLibs/*" DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
else()
|
else()
|
||||||
message(WARNING "windeployqt not found.")
|
message(WARNING "windeployqt not found.")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user