mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/46500 Closes: https://github.com/gentoo/gentoo/pull/46500 Signed-off-by: Sam James <sam@gentoo.org>
14 lines
404 B
Diff
14 lines
404 B
Diff
# Patch created by Quincy Fleming
|
|
# This helps to be able to control wether or not to find and build with libgpiod
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -236,7 +236,7 @@
|
|
|
|
# -------------------------------------
|
|
# Find libgpiod using pkg-config, if needed
|
|
-if(HAVE_LINUXGPIO)
|
|
+if(HAVE_LINUXGPIO AND HAVE_LIBGPIOD)
|
|
# defaults/fallbacks
|
|
set(HAVE_LIBGPIOD 0)
|
|
set(HAVE_LIBGPIOD_V2 0)
|