2014-05-01 23:08:03 +00:00
|
|
|
set(CMAKE_MODULE_PATH "@CMAKE_MODULE_PATH@")
|
|
|
|
|
2018-07-15 12:51:05 +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)
|
2018-07-15 12:51:05 +00:00
|
|
|
if(resolved_file MATCHES "^/(usr/)?lib/libQt")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libxcb-")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libicu")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libpng")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
elseif(resolved_file MATCHES "^/(usr/)?lib(.+)?/libproxy")
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
elseif((resolved_file MATCHES "^/(usr/)?lib(.+)?/libstdc\\+\\+") AND (UNIX AND NOT APPLE))
|
|
|
|
set(${type_var} other PARENT_SCOPE)
|
|
|
|
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)
|
2021-12-12 16:44:48 +00:00
|
|
|
fixup_bundle("@APPS@" "${QTPLUGINS}" "@DIRS@")
|
2013-12-10 19:37:15 +00:00
|
|
|
|