From e9c8ca02ba2f151cb6aa6039b7726861eeae122a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 2 May 2014 01:08:03 +0200 Subject: [PATCH] Inherit module path from main build environment in the prerequisites script. --- install_prereqs.cmake.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_prereqs.cmake.in b/install_prereqs.cmake.in index 6b50fb768..b8fa31778 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")