Inherit module path from main build environment in the prerequisites script.

This commit is contained in:
Petr Mrázek 2014-05-02 01:08:03 +02:00
parent 95203df9ca
commit e9c8ca02ba

View File

@ -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")