mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Merge pull request #1050 from ace13/win-package-fix
Only try to package the Qt 5 platform DLLs on Qt 5
This commit is contained in:
commit
fa11dad525
1 changed files with 5 additions and 4 deletions
|
@ -441,10 +441,11 @@ if(WIN32)
|
|||
INSTALL(PROGRAMS "${OpenMW_BINARY_DIR}/Release/Plugin_MyGUI_OpenMW_Resources.dll" DESTINATION ".")
|
||||
ENDIF(BUILD_MYGUI_PLUGIN)
|
||||
|
||||
INSTALL(DIRECTORY
|
||||
"${OpenMW_BINARY_DIR}/Release/platforms"
|
||||
"${OpenMW_BINARY_DIR}/resources"
|
||||
DESTINATION ".")
|
||||
IF(DESIRED_QT_VERSION MATCHES 5)
|
||||
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/Release/platforms" DESTINATION ".")
|
||||
ENDIF()
|
||||
|
||||
INSTALL(DIRECTORY "${OpenMW_BINARY_DIR}/resources" DESTINATION ".")
|
||||
FILE(GLOB plugin_dir "${OpenMW_BINARY_DIR}/Release/osgPlugins-*")
|
||||
INSTALL(DIRECTORY ${plugin_dir} DESTINATION ".")
|
||||
|
||||
|
|
Loading…
Reference in a new issue