summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yaml-cpp.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yaml-cpp.mk b/src/yaml-cpp.mk
index 2fd9860..99f60a6 100644
--- a/src/yaml-cpp.mk
+++ b/src/yaml-cpp.mk
@@ -15,8 +15,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && cmake \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ cd '$(1)' && $(TARGET)-cmake \
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON)
$(MAKE) -C '$(1)' -j $(JOBS) VERBOSE=1