gentoo-ebuilds/dev-db/mydumper/files/mydumper-0.16-cmake-docs.patch
Tomáš Mózes e19a2a10ac
dev-db/mydumper: add 0.16.11.2
Adding USE=doc which is now in separate git repo:
https://github.com/mydumper/mydumper_docs

Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39578
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2025-01-03 18:32:08 +02:00

20 lines
603 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8f1c9ad..a62195b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,11 +24,11 @@ if (NOT MYSQL_FOUND)
MESSAGE(FATAL_ERROR "Could not find MySQL or MariaDB client libraries")
endif ()
-#option(BUILD_DOCS "Build the documentation" ON)
+option(BUILD_DOCS "Build the documentation" ON)
-#if (BUILD_DOCS)
-# add_subdirectory(docs)
-#endif (BUILD_DOCS)
+if (BUILD_DOCS)
+ add_subdirectory(docs)
+endif (BUILD_DOCS)
if (PC_GLIB2_VERSION VERSION_GREATER "2.51")
option(WITH_GLIB_uuid_string_random "uuid_string_random not available" ON)