summaryrefslogtreecommitdiffstats
path: root/bundle/install_prereqs.cmake.in
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-01-27 21:59:06 +0100
committerPetr Mrázek <peterix@gmail.com>2018-01-27 21:59:06 +0100
commitd66ae206dd94c0911333f29752438ebd5fd1ee50 (patch)
tree2f3564915689eacc1502b628eebd72ffcb959cca /bundle/install_prereqs.cmake.in
parentcd55674b36384f70878746ef1c0f8adfbb06c89f (diff)
downloadMultiMC-d66ae206dd94c0911333f29752438ebd5fd1ee50.tar
MultiMC-d66ae206dd94c0911333f29752438ebd5fd1ee50.tar.gz
MultiMC-d66ae206dd94c0911333f29752438ebd5fd1ee50.tar.lz
MultiMC-d66ae206dd94c0911333f29752438ebd5fd1ee50.tar.xz
MultiMC-d66ae206dd94c0911333f29752438ebd5fd1ee50.zip
NOISSUE move bundle utilities magic back to the application folder
This may fix macOS issues?
Diffstat (limited to 'bundle/install_prereqs.cmake.in')
-rw-r--r--bundle/install_prereqs.cmake.in27
1 files changed, 0 insertions, 27 deletions
diff --git a/bundle/install_prereqs.cmake.in b/bundle/install_prereqs.cmake.in
deleted file mode 100644
index 2906a4ec..00000000
--- a/bundle/install_prereqs.cmake.in
+++ /dev/null
@@ -1,27 +0,0 @@
-set(CMAKE_MODULE_PATH "@CMAKE_MODULE_PATH@")
-
-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")
- 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()
-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@")
-