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)
|
|
|
|
if(resolved_file MATCHES "^/usr/lib/libQt")
|
|
|
|
message("resolving ${resolved_file} as other")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
2014-01-06 01:15:10 +05:30
|
|
|
elseif(resolved_file MATCHES "^/usr/lib(.+)?/libxcb")
|
2014-01-06 00:07:23 +05:30
|
|
|
message("resolving ${resolved_file} as other")
|
|
|
|
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@")
|
|
|
|
|