Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
85e9ce346a
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libs/ipfs-http-client/Makefile

+ 4
- 4
libs/ipfs-http-client/Makefile View 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


Loading…
Cancel
Save