yaml-cpp: use cmake wrapper

This commit is contained in:
Boris Nagaev 2016-07-16 00:30:33 +03:00
parent f61c053d13
commit aa85d819dc
1 changed files with 1 additions and 2 deletions

View File

@ -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