yaml-cpp: use CMAKE_SHARED_BOOL variable

This commit is contained in:
Boris Nagaev 2016-07-16 00:39:41 +03:00
parent de305c205e
commit a239f4ae92
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ endef
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(TARGET)-cmake \
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) \
-DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \
'$(SOURCE_DIR)'
$(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) VERBOSE=1