summaryrefslogtreecommitdiffstats
path: root/src/wt.mk
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-10-18 23:29:33 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2017-01-08 02:01:54 (GMT)
commite2fd9fe23a4a883586dbe4596352784a16cb1c5d (patch)
treea1ecd72bf6b042b281d65a1a61c6ec3125e2feca /src/wt.mk
parent0555e10e6f85e6066b6b210a23843967c8d4b394 (diff)
downloadmxe-e2fd9fe23a4a883586dbe4596352784a16cb1c5d.zip
mxe-e2fd9fe23a4a883586dbe4596352784a16cb1c5d.tar.gz
mxe-e2fd9fe23a4a883586dbe4596352784a16cb1c5d.tar.bz2
use cmake wrapper in all packages
Native binaries (libmysqlclient, vtk, vtk6) still build with `cmake` instead of the cmake wrapper. Note that even in these cases MXE's cmake is used (not system cmake), because $(PREFIX)/$(BUILD)/bin is added to PATH by Makefile and MXE's cmake binary exists there.
Diffstat (limited to 'src/wt.mk')
-rw-r--r--src/wt.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wt.mk b/src/wt.mk
index bdab1cc..53c5a71 100644
--- a/src/wt.mk
+++ b/src/wt.mk
@@ -21,7 +21,7 @@ endef
define $(PKG)_BUILD
# build wt libraries
mkdir '$(1).build'
- cd '$(1).build' && cmake \
+ cd '$(1).build' && '$(TARGET)-cmake' \
-DCONFIGDIR='$(PREFIX)/$(TARGET)/etc/wt' \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF \
@@ -36,7 +36,6 @@ define $(PKG)_BUILD
-DPANGO_FT2_LIBS="`'$(TARGET)-pkg-config' --libs-only-l pangoft2`" \
-DENABLE_QT4=ON \
-DWT_CMAKE_FINDER_INSTALL_DIR='/lib/wt' \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
'$(1)'
$(MAKE) -C '$(1).build' -j '$(JOBS)' VERBOSE=1 || $(MAKE) -C '$(1).build' -j 1 VERBOSE=1
$(MAKE) -C '$(1).build' -j 1 install VERBOSE=1