summaryrefslogtreecommitdiffstats
path: root/src/pkgconf.mk
diff options
context:
space:
mode:
authorMartin Müllenhaupt <mm@netlair.de>2014-10-08 15:58:08 (GMT)
committerMartin Müllenhaupt <mm@netlair.de>2014-10-08 15:58:08 (GMT)
commit3ce38c81386478e8a6d2225b792cdd94367a6da7 (patch)
tree8cce5155fd9d22a6b8e0706ff444bec92cc0df17 /src/pkgconf.mk
parent570c9ee42a3591b6736dd2a90300c600d14bf095 (diff)
downloadmxe-3ce38c81386478e8a6d2225b792cdd94367a6da7.zip
mxe-3ce38c81386478e8a6d2225b792cdd94367a6da7.tar.gz
mxe-3ce38c81386478e8a6d2225b792cdd94367a6da7.tar.bz2
move CMAKE_MODULE_PATH into toolchain config
Diffstat (limited to 'src/pkgconf.mk')
-rw-r--r--src/pkgconf.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkgconf.mk b/src/pkgconf.mk
index a644be9..55c9cf5 100644
--- a/src/pkgconf.mk
+++ b/src/pkgconf.mk
@@ -59,6 +59,7 @@ define $(PKG)_BUILD_COMMON
echo 'set(HDF5_CXX_COMPILER_EXECUTABLE $(PREFIX)/bin/$(TARGET)-h5c++)'; \
echo 'set(PKG_CONFIG_EXECUTABLE $(PREFIX)/bin/$(TARGET)-pkg-config)'; \
echo 'set(QT_QMAKE_EXECUTABLE $(PREFIX)/$(TARGET)/qt/bin/qmake)'; \
+ echo 'set(CMAKE_MODULE_PATH $(PWD)/src/cmake) # For mxe FindPackage scripts'; \
echo 'set(CMAKE_INSTALL_PREFIX $(PREFIX)/$(TARGET) CACHE PATH "Installation Prefix")'; \
echo 'set(CMAKE_BUILD_TYPE Release CACHE STRING "Debug|Release|RelWithDebInfo|MinSizeRel")'; \
echo 'set(CMAKE_CROSS_COMPILING ON) # Workaround for http://www.cmake.org/Bug/view.php?id=14075') \