ipfs-http-client: fix compilation of tests
authorRosen Penev <redacted>
Fri, 24 Apr 2020 22:17:40 +0000 (15:17 -0700)
committerRosen Penev <redacted>
Sat, 25 Apr 2020 23:54:13 +0000 (16:54 -0700)
Wrong CMake variable was being used to enable them.

Small whitespace fix.

Signed-off-by: Rosen Penev <redacted>
libs/ipfs-http-client/Makefile

index 1bb0e68a845ebc6bf37d24ab368db60cf0fca4cf..7b7cc04bc1ab43e86be63d5613fab87fc96b0359 100644 (file)
@@ -5,7 +5,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ipfs-http-client
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
 PKG_LICENSE:=MIT
@@ -38,7 +38,7 @@ define Package/libipfs-http-client
 endef
 
 define Package/libipfs-http-client/description
-       $(call Package/ipfs-http-client/Default/description)
+  $(call Package/ipfs-http-client/Default/description)
   This package contains shared library.
 endef
 
@@ -51,13 +51,13 @@ define Package/ipfs-http-client-tests
 endef
 
 define Package/ipfs-http-client-tests/description
-       $(call Package/ipfs-http-client/Default/description)
+  $(call Package/ipfs-http-client/Default/description)
   This package contains library tests.
 endef
 
 CMAKE_OPTIONS += \
        -DBUILD_SHARED_LIBS=ON \
-       -DENABLE_TESTING=ON
+       -DBUILD_TESTING=ON
 
 define Package/libipfs-http-client/install
        $(INSTALL_DIR) $(1)/usr/lib
git clone https://git.99rst.org/PROJECT