2014-05-02 04:38:03 +05:30
|
|
|
set(CMAKE_MODULE_PATH "@CMAKE_MODULE_PATH@")
|
|
|
|
|
2014-04-06 23:13:09 +05:30
|
|
|
file(GLOB_RECURSE QTPLUGINS "${CMAKE_INSTALL_PREFIX}/@PLUGIN_DEST_DIR@/*@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
2013-12-11 01:07:15 +05:30
|
|
|
function(gp_resolved_file_type_override resolved_file type_var)
|
2016-01-03 20:34:26 +05:30
|
|
|
if(resolved_file MATCHES "^/(usr/)?lib/libQt")
|
2013-12-11 01:07:15 +05:30
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2016-11-19 05:46:44 +05:30
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libxcb-")
|
2014-01-06 00:07:23 +05:30
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2016-01-03 20:34:26 +05:30
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libicu")
|
2014-05-02 00:18:09 +05:30
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2016-01-03 20:34:26 +05:30
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libpng")
|
2015-09-09 01:39:08 +05:30
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2017-12-04 07:25:28 +05:30
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libproxy")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2016-01-03 20:34:26 +05:30
|
|
|
elseif((resolved_file MATCHES "^/(usr/)?lib(.+)?/libstdc\\+\\+") AND (UNIX AND NOT APPLE))
|
2015-05-21 03:58:30 +05:30
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2014-04-06 23:13:09 +05:30
|
|
|
endif()
|
2013-12-11 01:07:15 +05:30
|
|
|
endfunction()
|
|
|
|
|
|
|
|
set(gp_tool "@CMAKE_GP_TOOL@")
|
|
|
|
set(gp_cmd_paths ${gp_cmd_paths}
|
2014-04-06 23:13:09 +05:30
|
|
|
"@CMAKE_GP_CMD_PATHS@"
|
2013-12-11 01:07:15 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
include(BundleUtilities)
|
|
|
|
fixup_bundle("@APPS@" "${QTPLUGINS}" "@DIRS@")
|
|
|
|
|