summaryrefslogtreecommitdiffstats
path: root/src/qtbase.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-09-23 04:53:47 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-09-23 04:53:47 (GMT)
commit8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3 (patch)
tree0070dc54f8abd3794a70887703ff74a93300b0f7 /src/qtbase.mk
parent66f96745cf85bca5507995e773fc5f9f53d5c9d9 (diff)
downloadmxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.zip
mxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.tar.gz
mxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.tar.bz2
qt5: try to fix CMake files
See #466. This is one of the worst hacks I've ever seen. If there is a way to fix this better, please mention on #466. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/qtbase.mk')
-rw-r--r--src/qtbase.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qtbase.mk b/src/qtbase.mk
index 4d57d81..5dec03f 100644
--- a/src/qtbase.mk
+++ b/src/qtbase.mk
@@ -62,6 +62,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j 1 install
ln -sf '$(PREFIX)/$(TARGET)/qt5/bin/qmake' '$(PREFIX)/bin/$(TARGET)'-qmake-qt5
+ $(qt5_FIX_CMAKE_FILE)
+
mkdir '$(1)/test-qt'
cd '$(1)/test-qt' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' '$(PWD)/src/qt-test.pro'
$(MAKE) -C '$(1)/test-qt' -j '$(JOBS)'