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
2653f0e2ac
commit
ca951b0701
@ -644,7 +644,6 @@ 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
|
||||||
@ -659,6 +658,7 @@ if (ISLE_BUILD_CONFIG)
|
|||||||
"--no-quick-import"
|
"--no-quick-import"
|
||||||
COMMENT "Running windeployqt with minimal dependencies"
|
COMMENT "Running windeployqt with minimal dependencies"
|
||||||
)
|
)
|
||||||
|
file(GLOB_RECURSE QT_LIBRARIES "${CMAKE_INSTALL_BINDIR}/QTLibs/*")
|
||||||
install(FILES "${QT_LIBRARIES}" DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
install(FILES "${QT_LIBRARIES}" DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
else()
|
else()
|
||||||
message(WARNING "windeployqt not found.")
|
message(WARNING "windeployqt not found.")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user