mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 00:48:23 +00:00
backport a patch to fix unavailable check-examples target without doc enabled Closes: https://bugs.gentoo.org/962597 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44490 Signed-off-by: Sam James <sam@gentoo.org>
27 lines
1 KiB
Diff
27 lines
1 KiB
Diff
backport https://github.com/blueyed/awesome/commit/cd94a1368786d9061b0f11e7a8d757b976a2697b.patch
|
|
Include tests/examples/CMakeLists.txt always
|
|
see https://bugs.gentoo.org/962597
|
|
fix unavailable check-examples target without doc enabled
|
|
--- a/awesomeConfig.cmake
|
|
+++ b/awesomeConfig.cmake
|
|
@@ -275,15 +275,15 @@ if(GENERATE_DOC)
|
|
# Load the common documentation
|
|
include(docs/load_ldoc.cmake)
|
|
|
|
- # Use `include`, rather than `add_subdirectory`, to keep the variables
|
|
- # The file is a valid CMakeLists.txt and can be executed directly if only
|
|
- # the image artefacts are needed.
|
|
- include(tests/examples/CMakeLists.txt)
|
|
-
|
|
# Generate the widget lists
|
|
include(docs/widget_lists.cmake)
|
|
endif()
|
|
|
|
+# Use `include`, rather than `add_subdirectory`, to keep the variables
|
|
+# The file is a valid CMakeLists.txt and can be executed directly if only
|
|
+# the image artefacts are needed.
|
|
+include(tests/examples/CMakeLists.txt)
|
|
+
|
|
# {{{ Configure files
|
|
file(GLOB awesome_base_c_configure_files RELATIVE ${SOURCE_DIR}
|
|
${SOURCE_DIR}/*.c
|