Skip to content
Snippets Groups Projects
Commit 2bb4120e authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[wip/jrl-cmakemodules] add USE_PYTHON_ONLY option

parent f10aaf8d
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,14 @@ ifndef VERSION
PKG_FAIL_REASON+="Dependency on jrl/Makefile.common requires VERSION"
endif
ifdef USE_PYTHON_ONLY
USE_PYTHON= true
CMAKE_ARGS+= -DINSTALL_PYTHON_INTERFACE_ONLY=ON
CMAKE_ARGS+= -DINSTALL_DOCUMENTATION=OFF
CMAKE_ARGS+= -DINSTALL_GENERATED_HEADERS=OFF
CMAKE_ARGS+= -DINSTALL_PKG_CONFIG_FILE=OFF
endif
DISTNAME?= ${NAME}-${VERSION}
ifdef USE_PYTHON
PKGNAME?= ${PKGTAG.python-}${DISTNAME}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment