ipfs-http-client: fix compilation of tests
Wrong CMake variable was being used to enable them. Small whitespace fix. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
68a58c4c61
commit
85e9ce346a
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ipfs-http-client
|
PKG_NAME:=ipfs-http-client
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
|
PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
|
@ -38,7 +38,7 @@ define Package/libipfs-http-client
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libipfs-http-client/description
|
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.
|
This package contains shared library.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -51,13 +51,13 @@ define Package/ipfs-http-client-tests
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ipfs-http-client-tests/description
|
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.
|
This package contains library tests.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
CMAKE_OPTIONS += \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DENABLE_TESTING=ON
|
-DBUILD_TESTING=ON
|
||||||
|
|
||||||
define Package/libipfs-http-client/install
|
define Package/libipfs-http-client/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
|
Loading…
Reference in a new issue