mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-29 09:15:49 +00:00
51817962aa
Debian puts libxcb in some weird path...
20 lines
633 B
CMake
20 lines
633 B
CMake
FILE(GLOB_RECURSE QTPLUGINS "${CMAKE_INSTALL_PREFIX}/@PLUGIN_DEST_DIR@/*@CMAKE_SHARED_LIBRARY_SUFFIX@")
|
|
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)
|
|
elseif(resolved_file MATCHES "^/usr/lib(.+)?/libxcb")
|
|
message("resolving ${resolved_file} as other")
|
|
set(${type_var} other PARENT_SCOPE)
|
|
endif()
|
|
endfunction()
|
|
|
|
set(gp_tool "@CMAKE_GP_TOOL@")
|
|
set(gp_cmd_paths ${gp_cmd_paths}
|
|
"@CMAKE_GP_CMD_PATHS@"
|
|
)
|
|
|
|
include(BundleUtilities)
|
|
fixup_bundle("@APPS@" "${QTPLUGINS}" "@DIRS@")
|
|
|