diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-08-26 14:06:41 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-26 10:10:57 -0700 |
commit | 4c26e141dddebea69d15281391832d82c1ee572c (patch) | |
tree | a2e607cc88e2b34eb4d7ef74cf63d164beed165a /meta-oe/recipes-support | |
parent | 0595d7bc3e92389c2617f25260d78f3d4fc2adbf (diff) | |
download | meta-openembedded-4c26e141dddebea69d15281391832d82c1ee572c.tar.gz |
poppler: Explicitly enable/disable boost together with splash
This avoids the following error when splash is not enabled in
PACKAGECONFIG:
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at
least version "1.58.0")
CMake Error at CMakeLists.txt:196 (message):
-- Boost recommended for Splash. Use ENABLE_BOOST=OFF to skip.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/poppler/poppler_21.08.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler_21.08.0.bb b/meta-oe/recipes-support/poppler/poppler_21.08.0.bb index d3135a44c5..1fc3bf3f46 100644 --- a/meta-oe/recipes-support/poppler/poppler_21.08.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_21.08.0.bb @@ -21,7 +21,7 @@ PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl" PACKAGECONFIG[openjpeg] = "-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg" PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native" PACKAGECONFIG[nss] = "-DWITH_NSS3=ON,-DWITH_NSS3=OFF,nss" -PACKAGECONFIG[splash] = "-DENABLE_SPLASH=ON,-DENABLE_SPLASH=OFF,boost" +PACKAGECONFIG[splash] = "-DENABLE_SPLASH=ON -DENABLE_BOOST=ON,-DENABLE_SPLASH=OFF -DENABLE_BOOST=OFF,boost" # surprise - did not expect this to work :) inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} |