summaryrefslogtreecommitdiffstats
path: root/src/boost.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-12-08 09:22:39 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-12-08 09:22:39 (GMT)
commit3c67cefde7f1443f5eaf36809d3c9a1f0a620681 (patch)
tree1df082827d77893c6a7660ab6bdd160c22ec4dd4 /src/boost.mk
parent2b28a3c821e8fefb0d934cfdabdb2a1e784bd14d (diff)
downloadmxe-3c67cefde7f1443f5eaf36809d3c9a1f0a620681.zip
mxe-3c67cefde7f1443f5eaf36809d3c9a1f0a620681.tar.gz
mxe-3c67cefde7f1443f5eaf36809d3c9a1f0a620681.tar.bz2
boost hdf5 pkgconf qt: move cmake variables to respective packages
Diffstat (limited to 'src/boost.mk')
-rw-r--r--src/boost.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boost.mk b/src/boost.mk
index a418bbf..ae57abd 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -61,6 +61,10 @@ define $(PKG)_BUILD
$(if $(BUILD_SHARED), \
mv -fv '$(PREFIX)/$(TARGET)/lib/'libboost_*.dll '$(PREFIX)/$(TARGET)/bin/')
+ # setup cmake toolchain
+ $(SED) -i '/Boost_THREADAPI/d' '$(CMAKE_TOOLCHAIN_FILE)'
+ echo 'set(Boost_THREADAPI "win32")' >> '$(CMAKE_TOOLCHAIN_FILE)'
+
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -U__STRICT_ANSI__ -pedantic \
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-boost.exe' \