2017-06-12 22:53:59 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libspatialindex
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-09-21 22:03:14 +02:00
|
|
|
LIBSPATIALINDEX_VERSION = 1.9.0
|
|
|
|
LIBSPATIALINDEX_SITE = \
|
|
|
|
https://github.com/libspatialindex/libspatialindex/releases/download/$(LIBSPATIALINDEX_VERSION)
|
2017-06-12 22:53:59 +02:00
|
|
|
LIBSPATIALINDEX_SOURCE = spatialindex-src-$(LIBSPATIALINDEX_VERSION).tar.bz2
|
|
|
|
LIBSPATIALINDEX_INSTALL_STAGING = YES
|
|
|
|
LIBSPATIALINDEX_LICENSE = MIT
|
|
|
|
LIBSPATIALINDEX_LICENSE_FILES = COPYING
|
|
|
|
|
2017-08-14 23:40:59 +02:00
|
|
|
LIBSPATIALINDEX_CXXFLAGS = $(TARGET_CXXFLAGS)
|
2019-09-21 22:03:14 +02:00
|
|
|
LIBSPATIALINDEX_CONF_OPTS = \
|
|
|
|
-DSIDX_BUILD_TESTS=OFF \
|
|
|
|
-DCMAKE_CXX_FLAGS="$(LIBSPATIALINDEX_CXXFLAGS)"
|
2017-08-14 23:40:59 +02:00
|
|
|
|
2019-06-14 23:03:35 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
2017-08-14 23:40:59 +02:00
|
|
|
LIBSPATIALINDEX_CXXFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
2019-09-21 22:03:14 +02:00
|
|
|
$(eval $(cmake-package))
|