651b653814
There is no need to define SDBUS_CPP_SOURCE explicitly because the github helper works perfectly well with the default _SOURCE value. Signed-off-by: Sergey Bobrenok <bobrofon@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
24 lines
737 B
Makefile
24 lines
737 B
Makefile
################################################################################
|
|
#
|
|
# sdbus-c++
|
|
#
|
|
################################################################################
|
|
|
|
SDBUS_CPP_VERSION = 1.4.0
|
|
SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION))
|
|
SDBUS_CPP_INSTALL_STAGING = YES
|
|
SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd
|
|
SDBUS_CPP_LICENSE = LGPL-2.1+ with exception (headers)
|
|
SDBUS_CPP_LICENSE_FILES = COPYING COPYING-LGPL-Exception
|
|
|
|
# Host build for sdbus-c++-xml2cpp
|
|
HOST_SDBUS_CPP_DEPENDENCIES = host-pkgconf host-systemd
|
|
HOST_SDBUS_CPP_CONF_OPTS = \
|
|
-DBUILD_CODE_GEN=ON \
|
|
-DBUILD_DOC=OFF \
|
|
-DBUILD_TESTS=OFF \
|
|
-DBUILD_LIBSYSTEMD=OFF
|
|
|
|
$(eval $(cmake-package))
|
|
$(eval $(host-cmake-package))
|