mirror of
https://github.com/TuxSH/PkmGCTools.git
synced 2026-03-21 17:45:19 -05:00
BUGFIX: qwindows.dll now automatically added to the install folder
This commit is contained in:
parent
71d3687b70
commit
e53842229b
|
|
@ -43,7 +43,7 @@ else()
|
|||
endif()
|
||||
|
||||
install(DIRECTORY "include/LibPkmGC" DESTINATION "Release/include" CONFIGURATIONS Release RelWithDebInfo MinSizeRel COMPONENT Headers)
|
||||
install(DIRECTORY "include/LibPkmGC" DESTINATION "Debug/include" CONFIGURATIONS Release RelWithDebInfo MinSizeRel COMPONENT Headers)
|
||||
install(DIRECTORY "include/LibPkmGC" DESTINATION "Debug/include" CONFIGURATIONS Debug COMPONENT Headers)
|
||||
|
||||
install(FILES "README.md" "LICENSE" DESTINATION "Debug/include" CONFIGURATIONS Debug COMPONENT Headers)
|
||||
install(FILES "README.md" "LICENSE" DESTINATION "Release/include" CONFIGURATIONS Release RelWithDebInfo MinSizeRel COMPONENT Headers)
|
||||
|
|
|
|||
|
|
@ -65,6 +65,10 @@ endif()
|
|||
if(COPY_QT_LIBS)
|
||||
get_target_property(qt_libs Qt5::Widgets INTERFACE_LINK_LIBRARIES)
|
||||
get_target_property(qt_widgets_location Qt5::Widgets LOCATION_Release)
|
||||
if(WIN32)
|
||||
get_target_property(qt_windows_plugin_location Qt5::QWindowsIntegrationPlugin LOCATION_Release)
|
||||
list(APPEND QT5_RUNTIME_RELEASE ${qt_windows_plugin_location})
|
||||
endif()
|
||||
list(APPEND QT5_RUNTIME_RELEASE ${qt_widgets_location})
|
||||
foreach(qt_lib ${qt_libs})
|
||||
get_target_property(qt_lib_location ${qt_lib} LOCATION_Release)
|
||||
|
|
@ -75,6 +79,10 @@ if(COPY_QT_LIBS)
|
|||
|
||||
get_target_property(qt_libs Qt5::Widgets INTERFACE_LINK_LIBRARIES)
|
||||
get_target_property(qt_widgets_location Qt5::Widgets LOCATION_Debug)
|
||||
if(WIN32)
|
||||
get_target_property(qt_windows_plugin_location Qt5::QWindowsIntegrationPlugin LOCATION_Debug)
|
||||
list(APPEND QT5_RUNTIME_RELEASE ${qt_windows_plugin_location})
|
||||
endif()
|
||||
list(APPEND QT5_RUNTIME_DEBUG ${qt_widgets_location})
|
||||
foreach(qt_lib ${qt_libs})
|
||||
get_target_property(qt_lib_location ${qt_lib} LOCATION_Debug)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user