mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Only package the Qt 5 platform DLLs on Qt 5
This commit is contained in:
parent
03a35c38df
commit
c01d9e9ec5
@ -441,10 +441,11 @@ if(WIN32)
|
|||||||
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/Plugin_MyGUI_OpenMW_Resources.dll" DESTINATION ".")
|
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/Plugin_MyGUI_OpenMW_Resources.dll" DESTINATION ".")
|
||||||
ENDIF(BUILD_MYGUI_PLUGIN)
|
ENDIF(BUILD_MYGUI_PLUGIN)
|
||||||
|
|
||||||
INSTALL(DIRECTORY
|
IF(DESIRED_QT_VERSION MATCHES 5)
|
||||||
"${OpenMW_BINARY_DIR}/Release/platforms"
|
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/Release/platforms" DESTINATION ".")
|
||||||
"${OpenMW_BINARY_DIR}/resources"
|
ENDIF()
|
||||||
DESTINATION ".")
|
|
||||||
|
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/resources" DESTINATION ".")
|
||||||
FILE(GLOB plugin_dir "${OpenMW_BINARY_DIR}/Release/osgPlugins-*")
|
FILE(GLOB plugin_dir "${OpenMW_BINARY_DIR}/Release/osgPlugins-*")
|
||||||
INSTALL(DIRECTORY ${plugin_dir} DESTINATION ".")
|
INSTALL(DIRECTORY ${plugin_dir} DESTINATION ".")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user