cmake: use convenience options for clarity

The intention here was "everything but jsoncpp is system provided" so use the
convenience option to ensure this remains true in the future.

(From OE-Core rev: f863b227e22b67ab239ee6124471fdc14de3f017)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-09-13 15:55:53 +01:00 committed by Richard Purdie
parent 12cd9c01fc
commit 04cc7ab0fb
1 changed files with 2 additions and 7 deletions

View File

@ -25,13 +25,8 @@ python () {
EXTRA_OECMAKE=" \
-DCMAKE_DOC_DIR=${docdir_stripped}/cmake-${CMAKE_MAJOR_VERSION} \
-DCMAKE_USE_SYSTEM_LIBRARY_BZIP2=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_CURL=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_EXPAT=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_FORM=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_LIBLZMA=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_ZLIB=1 \
-DCMAKE_USE_SYSTEM_LIBRARIES=1 \
-DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \
-DKWSYS_CHAR_IS_SIGNED=1 \
-DBUILD_CursesDialog=0 \
${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '-DKWSYS_LFS_WORKS=1', '-DKWSYS_LFS_DISABLE=1', d)} \