2014-04-06 17:43:09 +00:00
|
|
|
file(GLOB_RECURSE QTPLUGINS "${CMAKE_INSTALL_PREFIX}/@PLUGIN_DEST_DIR@/*@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
2013-12-10 19:37:15 +00:00
|
|
|
function(gp_resolved_file_type_override resolved_file type_var)
|
|
|
|
if(resolved_file MATCHES "^/usr/lib/libQt")
|
|
|
|
message("resolving ${resolved_file} as other")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2014-01-05 19:45:10 +00:00
|
|
|
elseif(resolved_file MATCHES "^/usr/lib(.+)?/libxcb")
|
2014-01-05 18:37:23 +00:00
|
|
|
message("resolving ${resolved_file} as other")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2014-05-01 18:48:09 +00:00
|
|
|
elseif(resolved_file MATCHES "^/usr/lib(.+)?/libicu")
|
|
|
|
message("resolving ${resolved_file} as other")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2014-04-06 17:43:09 +00:00
|
|
|
endif()
|
2013-12-10 19:37:15 +00:00
|
|
|
endfunction()
|
|
|
|
|
|
|
|
set(gp_tool "@CMAKE_GP_TOOL@")
|
|
|
|
set(gp_cmd_paths ${gp_cmd_paths}
|
2014-04-06 17:43:09 +00:00
|
|
|
"@CMAKE_GP_CMD_PATHS@"
|
2013-12-10 19:37:15 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
include(BundleUtilities)
|
|
|
|
fixup_bundle("@APPS@" "${QTPLUGINS}" "@DIRS@")
|
|
|
|
|