summaryrefslogtreecommitdiffstats
path: root/install_prereqs.cmake.in
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-02 01:08:03 +0200
committerPetr Mrázek <peterix@gmail.com>2014-05-02 01:08:03 +0200
commite9c8ca02ba2f151cb6aa6039b7726861eeae122a (patch)
treef887da65356341b6c26d945b9190dd07f00ebe87 /install_prereqs.cmake.in
parent95203df9caeeeef6edf715b7e2555e6b61e553e6 (diff)
downloadMultiMC-e9c8ca02ba2f151cb6aa6039b7726861eeae122a.tar
MultiMC-e9c8ca02ba2f151cb6aa6039b7726861eeae122a.tar.gz
MultiMC-e9c8ca02ba2f151cb6aa6039b7726861eeae122a.tar.lz
MultiMC-e9c8ca02ba2f151cb6aa6039b7726861eeae122a.tar.xz
MultiMC-e9c8ca02ba2f151cb6aa6039b7726861eeae122a.zip
Inherit module path from main build environment in the prerequisites script.
Diffstat (limited to 'install_prereqs.cmake.in')
-rw-r--r--install_prereqs.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/install_prereqs.cmake.in b/install_prereqs.cmake.in
index 6b50fb76..b8fa3177 100644
--- a/install_prereqs.cmake.in
+++ b/install_prereqs.cmake.in
@@ -1,3 +1,5 @@
+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")