Commit 87d4309a authored by Fabio Bas's avatar Fabio Bas
Browse files

Fix qt.conf file creation for "make package"

parent 501ef130
...@@ -183,8 +183,10 @@ add_custom_command( ...@@ -183,8 +183,10 @@ add_custom_command(
) )
if(APPLE) if(APPLE)
# this needs to be relative
set(plugin_dest_dir ./cockatrice.app/Contents/Plugins) set(plugin_dest_dir ./cockatrice.app/Contents/Plugins)
set(qtconf_dest_dir ./cockatrice.app/Contents/Resources) # instead, this needs an absolute path (for make package to work)
set(qtconf_dest_dir ${CMAKE_INSTALL_PREFIX}/cockatrice.app/Contents/Resources)
# note: no codecs in qt5 # note: no codecs in qt5
# note: phonon_backend => mediaservice # note: phonon_backend => mediaservice
......
...@@ -48,8 +48,10 @@ IF (NOT WIN32 AND NOT APPLE) ...@@ -48,8 +48,10 @@ IF (NOT WIN32 AND NOT APPLE)
ENDIF (NOT WIN32 AND NOT APPLE) ENDIF (NOT WIN32 AND NOT APPLE)
if(APPLE) if(APPLE)
# this needs to be relative
set(plugin_dest_dir ./oracle.app/Contents/Plugins) set(plugin_dest_dir ./oracle.app/Contents/Plugins)
set(qtconf_dest_dir ./oracle.app/Contents/Resources) # instead, this needs an absolute path (for make)
set(qtconf_dest_dir ${CMAKE_INSTALL_PREFIX}/oracle.app/Contents/Resources)
# note: no codecs in qt5 # note: no codecs in qt5
# note: phonon_backend => mediaservice # note: phonon_backend => mediaservice
......
...@@ -55,8 +55,10 @@ elseif(WIN32) ...@@ -55,8 +55,10 @@ elseif(WIN32)
endif() endif()
if(APPLE) if(APPLE)
# this needs to be relative
set(plugin_dest_dir ./servatrice.app/Contents/Plugins) set(plugin_dest_dir ./servatrice.app/Contents/Plugins)
set(qtconf_dest_dir ./servatrice.app/Contents/Resources) # instead, this needs an absolute path (for make)
set(qtconf_dest_dir ${CMAKE_INSTALL_PREFIX}/servatrice.app/Contents/Resources)
# note: no codecs in qt5 # note: no codecs in qt5
# note: phonon_backend => mediaservice # note: phonon_backend => mediaservice
......
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