update recipe to use workspace as root dir

This commit is contained in:
NADAL Jean-Baptiste
2019-04-16 18:02:08 +02:00
parent c7be80baf3
commit 3cdd67a4f2
14 changed files with 13 additions and 71 deletions

View File

@@ -10,10 +10,6 @@ LIBCIVETWEB_CPP_SITE = $(TOPDIR)/../../src/3P/civetweb/builders/cmake
LIBCIVETWEB_CPP_SITE_METHOD = local
LIBCIVETWEB_CPP_INSTALL_STAGING = YES
LIBCIVETWEB_CPP_CONF = SRC_DIR=$(TOPDIR)/../..
LIBCIVETWEB_CPP_CONF_ENV = $(LIBCIVETWEB_CPP_CONF)
LIBCIVETWEB_CPP_MAKE_ENV = $(LIBCIVETWEB_CPP_CONF)
LIBCIVETWEB_CPP_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
LIBCIVETWEB_CPP_CONF_OPTS += -DworkspaceRoot=$(TOPDIR)/../.. -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(cmake-package))