From 4c26e141dddebea69d15281391832d82c1ee572c Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 26 Aug 2021 14:06:41 +0200 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-support/poppler/poppler_21.08.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-oe/recipes-support') 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)} -- cgit 1.2.3-korg