Match fixup_qt4_executable with documentation.

This commit is contained in:
Mike McQuaid 2011-10-28 17:31:30 +01:00 committed by David Cole
parent 13d19468d0
commit 9cfc920973
1 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@
# (or <plugins_dir>) relative to <executable> and store the result in # (or <plugins_dir>) relative to <executable> and store the result in
# <installed_plugin_path_var>. See documentation of INSTALL_QT4_PLUGIN_PATH. # <installed_plugin_path_var>. See documentation of INSTALL_QT4_PLUGIN_PATH.
# #
# INSTALL_QT4_EXECUTABLE(<executable> <qtplugins> [<libs> <dirs> <plugins_dir> <request_qt_conf>]) # INSTALL_QT4_EXECUTABLE(<executable> [<qtplugins> <libs> <dirs> <plugins_dir> <request_qt_conf>])
# Installs Qt plugins, writes a Qt configuration file (if needed) and fixes up # Installs Qt plugins, writes a Qt configuration file (if needed) and fixes up
# a Qt4 executable using BundleUtilities so it is standalone and can be # a Qt4 executable using BundleUtilities so it is standalone and can be
# drag-and-drop copied to another machine as long as all of the system # drag-and-drop copied to another machine as long as all of the system
@ -106,7 +106,8 @@ function(resolve_qt4_paths paths_var)
set(${paths_var} ${paths_resolved} PARENT_SCOPE) set(${paths_var} ${paths_resolved} PARENT_SCOPE)
endfunction() endfunction()
function(fixup_qt4_executable executable qtplugins) function(fixup_qt4_executable executable)
set(qtplugins ${ARGV1})
set(libs ${ARGV2}) set(libs ${ARGV2})
set(dirs ${ARGV3}) set(dirs ${ARGV3})
set(plugins_dir ${ARGV4}) set(plugins_dir ${ARGV4})