Commit 74c58cc2 authored by Fabio Bas's avatar Fabio Bas
Browse files

fix qt libraries bundling on osx

fix #1547
parent d09b75a3
...@@ -281,6 +281,7 @@ if(APPLE) ...@@ -281,6 +281,7 @@ if(APPLE)
# these needs to be relative to CMAKE_INSTALL_PREFIX # these needs to be relative to CMAKE_INSTALL_PREFIX
set(plugin_dest_dir cockatrice.app/Contents/Plugins) set(plugin_dest_dir cockatrice.app/Contents/Plugins)
set(qtconf_dest_dir cockatrice.app/Contents/Resources) set(qtconf_dest_dir cockatrice.app/Contents/Resources)
get_filename_component(QT_LIBRARY_DIR "${QT_LIBRARY_DIR}/.." ABSOLUTE)
# qt4: codecs, iconengines, imageformats # qt4: codecs, iconengines, imageformats
# qt5: audio, iconengines, imageformats, platforms, printsupport # qt5: audio, iconengines, imageformats, platforms, printsupport
......
...@@ -185,6 +185,7 @@ if(APPLE) ...@@ -185,6 +185,7 @@ if(APPLE)
# these needs to be relative to CMAKE_INSTALL_PREFIX # these needs to be relative to CMAKE_INSTALL_PREFIX
set(plugin_dest_dir oracle.app/Contents/Plugins) set(plugin_dest_dir oracle.app/Contents/Plugins)
set(qtconf_dest_dir oracle.app/Contents/Resources) set(qtconf_dest_dir oracle.app/Contents/Resources)
get_filename_component(QT_LIBRARY_DIR "${QT_LIBRARY_DIR}/.." ABSOLUTE)
# qt4: codecs, iconengines, imageformats # qt4: codecs, iconengines, imageformats
# qt5: iconengines, platforms # qt5: iconengines, platforms
......
...@@ -146,6 +146,7 @@ if(APPLE) ...@@ -146,6 +146,7 @@ if(APPLE)
# these needs to be relative to CMAKE_INSTALL_PREFIX # these needs to be relative to CMAKE_INSTALL_PREFIX
set(plugin_dest_dir servatrice.app/Contents/Plugins) set(plugin_dest_dir servatrice.app/Contents/Plugins)
set(qtconf_dest_dir servatrice.app/Contents/Resources) set(qtconf_dest_dir servatrice.app/Contents/Resources)
get_filename_component(QT_LIBRARY_DIR "${QT_LIBRARY_DIR}/.." ABSOLUTE)
# qt4: codecs, sqldrivers # qt4: codecs, sqldrivers
# qt5: platforms, sqldrivers # qt5: platforms, sqldrivers
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment