summaryrefslogtreecommitdiff
path: root/app-text/doxygen
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-12 01:49:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-12 01:49:51 +0000
commitef0fedb39c21a343a3f316726f272bad9005b22c (patch)
tree0d64e58453e117f61a9e1641532926278f51b72e /app-text/doxygen
parentcf7807d7aea23a99a144afceaba961cfed652b5f (diff)
gentoo auto-resync : 12:03:2025 - 01:49:51next
Diffstat (limited to 'app-text/doxygen')
-rw-r--r--app-text/doxygen/Manifest5
-rw-r--r--app-text/doxygen/files/doxygen-1.12.0-clang-19.patch43
-rw-r--r--app-text/doxygen/files/doxygen-1.12.0-libfmt-11.patch112
-rw-r--r--app-text/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch26
-rw-r--r--app-text/doxygen/files/doxygen-1.9.8-spdlog-link.patch51
-rw-r--r--app-text/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch119
6 files changed, 0 insertions, 356 deletions
diff --git a/app-text/doxygen/Manifest b/app-text/doxygen/Manifest
index d1811570d589..0f69dc7aef59 100644
--- a/app-text/doxygen/Manifest
+++ b/app-text/doxygen/Manifest
@@ -1,10 +1,5 @@
-AUX doxygen-1.12.0-clang-19.patch 2328 BLAKE2B c71996986679ddfab17c7de019a572f6e85f13dcb3c6d21b7f8a4e510cd978fe5e1ad6661c2f9661035c246ae5df6eb8b55fdb0bca235d7272a4433109a794a3 SHA512 86839ba8c5ef39729c5379a8397240b76ce065eefa3c9a9a168a572c5e796698547befb2b22a222188e68b8b42c7f26fcbf1b4ed46e17af29f937e45cc86edfc
-AUX doxygen-1.12.0-libfmt-11.patch 4820 BLAKE2B 548dd1c74b2c81551409053d7196ea07d0300efe5b7e42aa7a9c18f6313543478f5a6a9fa0c503797b5fb1129c462241ba9663939c044036d321f0d0cd2355a4 SHA512 32f6952390e08ec5d5bb7c35aa0010c6027c9a6bffc6de1d6e3e45255b62dd563bfc12ad94efd656207c161ee81b81f156ffec49be5160c3acd49a8949aeaecd
AUX doxygen-1.9.4-link_with_pthread.patch 1116 BLAKE2B 864adde5d9c0c852dba8fdaee9021f16e7e119a660d5d8657f320686c0d86c29b5695f367c2af2846e9861bca5a70889b6dd56a9734485527ae504a134e30594 SHA512 f9a1089585f83a09b89c813f51bbb7914fb27be2b3e554148387fd322c88153c2aca1af4215d90b6f2fc9eae25814085fb468f0ef2dacfa092662a4609d52929
-AUX doxygen-1.9.7-musl-1.2.4.patch 1126 BLAKE2B 050fa56a7786c557ce03c9275e152f2b2d2285209f8ea9aed5019c96c2e545ce46208f783092addfcd8ae00b0ed257d4f588ae4036b65752087901d616cc4979 SHA512 eb89ca38cee0431528240c9b354adeef5e2c3ed89db762e7e12e12fa17ca596752b9da0cb75fb9d09dcfbecc302a7e63f811b8fb2f43baf3b4d2230f259ad96f
-AUX doxygen-1.9.8-spdlog-link.patch 1571 BLAKE2B 954d701bdcbabf8b9ebb52d4be6a947189661a55cbab72b7651fb956b53778a968c6c88fb2b3967a8bfa5f0951e9fe046e69a8567938a8243558af807d657714 SHA512 7d3d4363313ace1823b4570c94fcd2f8099f6f7ec42d45f4fd341df9071fb9807e03fe5094a12c8fcf86ca8da06aa681ac0b8e1e0bec70fe2555f70cf39c5b8f
AUX doxygen-1.9.8-suppress-unused-option-libcxx.patch 828 BLAKE2B db41297d3ad3fca9dc5097871185f98c965ccda7e22f8c31e0b9a69fc83c90dfd32125371cb3e42ebb6b0867cc9746b03ef656861aea14dc8d17e1e7ea09780f SHA512 6c6599ddf35720abb3872fed3a82e8796edc4e6623f9e5b3930e600772c6346bab776074fc8edb20d6d9ac7c21d6c0cb86b12295c9b7649322b876bc6737065d
-AUX doxygen-1.9.8-unbundle-sqlite.patch 4510 BLAKE2B afd24516a20c4378a611c836bc51276528a3983ef21db7a036d53e910b8627f5800b871d2cd13c14fc36e04eebee8bca31c40819c9b4051b1007a3ad799351d0 SHA512 548a3e550bc552007116a9bf500e1cf953b23488e825ac2ee55ef90ae001c189e5a85f84b9957c5670be7d83166a5e8df266c6a96f8b195199d45c264b67e846
DIST doxygen-1.13.0.src.tar.gz 8502031 BLAKE2B 8a12ed632772b48d07ea4edf16032f491e05b4718d38160ebc1f3d8de1cdf96bca827da28048907cf538a286757ddf56c503fbe08dcfc5a17cc72fea7233a466 SHA512 f6cae74bd8df9c6c2ba3fa21fc33926e6d5eba65101776f84c1fa056d9231d69e232a30d7702b53a284543fc4765edadb10f4d4b4a46314fa08580963d9226fb
EBUILD doxygen-1.13.0-r1.ebuild 3842 BLAKE2B 06a0c38ea6d50b597afb3ddd24d17d728692e977bc488b02ec8b7c77368c7336f228de67b98a25d9ff69921d99d68b9b61355c70b2108fe32796cd5028e7349d SHA512 f192eee35b46ff6733c205b6a968a237399af68b48371de4b72f223bea1572629ee355b0059fc657a9d1e4eabd1b6f6d73ad3b266ac3c06ee8e4aa7b3f3ceb61
EBUILD doxygen-9999.ebuild 3864 BLAKE2B 32c06fca3d8b363a86e4e865de58d8c9e140f08a026acb0c4cd0b640d67a0c7e5a905231f85bb870e63bf90450ea5298737bb6034a8e118ff1cfd5b3d975dcb7 SHA512 0f6c1862a8854e48661dbe1aeab12ace71f00390b1c59c60372424a3bcf6d3e9ba76e73d8b966027de2f42d3d21b9ce13e820cf09678fdb93439352c53e80863
diff --git a/app-text/doxygen/files/doxygen-1.12.0-clang-19.patch b/app-text/doxygen/files/doxygen-1.12.0-clang-19.patch
deleted file mode 100644
index acca39a18d51..000000000000
--- a/app-text/doxygen/files/doxygen-1.12.0-clang-19.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-https://github.com/doxygen/doxygen/commit/cff64a87dea7596fd506a85521d4df4616dc845f
-https://github.com/doxygen/doxygen/pull/11064
-https://github.com/bisqwit/TinyDeflate/commit/68ced8bd5c819264e628d4f063500753b77f613d
-https://github.com/bisqwit/TinyDeflate/pull/9
-
-From cff64a87dea7596fd506a85521d4df4616dc845f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch>
-Date: Fri, 9 Aug 2024 14:13:34 +0200
-Subject: [PATCH] Fix build with clang >= 19.0
-
-Clang >= 19.0 requires a template argument list after the template
-keyword for CWG96 compliance, see
-https://github.com/llvm/llvm-project/pull/80801
-
-This patch has also been submitted to upstream TinyDeflate as
-https://github.com/bisqwit/TinyDeflate/pull/9
---- a/deps/TinyDeflate/gunzip.hh
-+++ b/deps/TinyDeflate/gunzip.hh
-@@ -1141,21 +1141,21 @@ namespace gunzip_ns
- //fprintf(stderr, "both track flag\n");
- SizeTracker<DeflateTrackBothSize> tracker;
- return tracker(Gunzip<code & Flag_NoTrackFlagMask>
-- (tracker.template ForwardInput(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward<B>(b)));
-+ (tracker.template ForwardInput<I>(i), tracker.template ForwardOutput<O>(o), tracker.template ForwardWindow<C>(c), std::forward<B>(b)));
- }
- else if constexpr(code & Flag_TrackIn)
- {
- //fprintf(stderr, "in track flag\n");
- SizeTracker<DeflateTrackInSize> tracker;
- return tracker(Gunzip<code & Flag_NoTrackFlagMask>
-- (tracker.template ForwardInput(i),std::forward<O>(o),std::forward<C>(c),std::forward<B>(b)));
-+ (tracker.template ForwardInput<I>(i),std::forward<O>(o),std::forward<C>(c),std::forward<B>(b)));
- }
- else if constexpr(code & Flag_TrackOut)
- {
- //fprintf(stderr, "out track flag\n");
- SizeTracker<DeflateTrackOutSize> tracker;
- return tracker(Gunzip<code & Flag_NoTrackFlagMask>
-- (std::forward<I>(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward<B>(b)));
-+ (std::forward<I>(i), tracker.template ForwardOutput<O>(o), tracker.template ForwardWindow<C>(c), std::forward<B>(b)));
- }
- else
- {
diff --git a/app-text/doxygen/files/doxygen-1.12.0-libfmt-11.patch b/app-text/doxygen/files/doxygen-1.12.0-libfmt-11.patch
deleted file mode 100644
index a73f6ad58514..000000000000
--- a/app-text/doxygen/files/doxygen-1.12.0-libfmt-11.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-https://bugs.gentoo.org/937599
-https://github.com/doxygen/doxygen/pull/11083
-
-From 567aca983f70b01103271e431bc71a13ac79213c Mon Sep 17 00:00:00 2001
-From: Alfred Wingate <parona@protonmail.com>
-Date: Fri, 9 Aug 2024 03:00:05 +0300
-Subject: [PATCH] Adjust to libfmt-11 changes
-
-Bug: https://bugs.gentoo.org/937599
-See-Also: https://github.com/fmtlib/fmt/commit/d70729215fba1d54862e407b626abf86ddf409bf
-Signed-off-by: Alfred Wingate <parona@protonmail.com>
---- a/src/trace.h
-+++ b/src/trace.h
-@@ -156,7 +156,7 @@ namespace fmt { template<typename T> struct formatter {}; }
- //! adds support for formatting QCString
- template<> struct fmt::formatter<QCString> : formatter<std::string>
- {
-- auto format(const QCString &c, format_context& ctx) {
-+ auto format(const QCString &c, format_context& ctx) const {
- return formatter<std::string>::format(c.str(), ctx);
- }
- };
-@@ -164,7 +164,7 @@ template<> struct fmt::formatter<QCString> : formatter<std::string>
- //! adds support for formatting Protected
- template<> struct fmt::formatter<Protection> : formatter<std::string>
- {
-- auto format(Protection prot, format_context& ctx) {
-+ auto format(Protection prot, format_context& ctx) const {
- std::string result="Unknown";
- switch (prot)
- {
-@@ -180,7 +180,7 @@ template<> struct fmt::formatter<Protection> : formatter<std::string>
- //! adds support for formatting Specifier
- template<> struct fmt::formatter<Specifier> : formatter<std::string>
- {
-- auto format(Specifier spec, format_context& ctx) {
-+ auto format(Specifier spec, format_context& ctx) const {
- std::string result="Unknown";
- switch (spec)
- {
-@@ -195,7 +195,7 @@ template<> struct fmt::formatter<Specifier> : formatter<std::string>
- //! adds support for formatting MethodTypes
- template<> struct fmt::formatter<MethodTypes> : formatter<std::string>
- {
-- auto format(MethodTypes mtype, format_context& ctx) {
-+ auto format(MethodTypes mtype, format_context& ctx) const {
- std::string result="Unknown";
- switch (mtype)
- {
-@@ -213,7 +213,7 @@ template<> struct fmt::formatter<MethodTypes> : formatter<std::string>
- //! adds support for formatting RelatesType
- template<> struct fmt::formatter<RelatesType> : formatter<std::string>
- {
-- auto format(RelatesType type, format_context& ctx) {
-+ auto format(RelatesType type, format_context& ctx) const {
- std::string result="Unknown";
- switch (type)
- {
-@@ -228,7 +228,7 @@ template<> struct fmt::formatter<RelatesType> : formatter<std::string>
- //! adds support for formatting RelationShip
- template<> struct fmt::formatter<Relationship> : formatter<std::string>
- {
-- auto format(Relationship relation, format_context& ctx) {
-+ auto format(Relationship relation, format_context& ctx) const {
- std::string result="Unknown";
- switch (relation)
- {
-@@ -243,7 +243,7 @@ template<> struct fmt::formatter<Relationship> : formatter<std::string>
- //! adds support for formatting SrcLangExt
- template<> struct fmt::formatter<SrcLangExt> : formatter<std::string>
- {
-- auto format(SrcLangExt lang, format_context& ctx) {
-+ auto format(SrcLangExt lang, format_context& ctx) const {
- std::string result="Unknown";
- switch (lang)
- {
-@@ -273,7 +273,7 @@ template<> struct fmt::formatter<SrcLangExt> : formatter<std::string>
- //! adds support for formatting MemberType
- template<> struct fmt::formatter<MemberType> : formatter<std::string>
- {
-- auto format(MemberType mtype, format_context& ctx) {
-+ auto format(MemberType mtype, format_context& ctx) const {
- std::string result="Unknown";
- switch (mtype)
- {
-@@ -301,7 +301,7 @@ template<> struct fmt::formatter<MemberType> : formatter<std::string>
- //! adds support for formatting TypeSpecifier
- template<> struct fmt::formatter<TypeSpecifier> : formatter<std::string>
- {
-- auto format(TypeSpecifier type, format_context& ctx) {
-+ auto format(TypeSpecifier type, format_context& ctx) const {
- return formatter<std::string>::format(type.to_string(),ctx);
- }
- };
-@@ -309,7 +309,7 @@ template<> struct fmt::formatter<TypeSpecifier> : formatter<std::string>
- //! adds support for formatting EntryType
- template<> struct fmt::formatter<EntryType> : formatter<std::string>
- {
-- auto format(EntryType type, format_context& ctx) {
-+ auto format(EntryType type, format_context& ctx) const {
- return formatter<std::string>::format(type.to_string(),ctx);
- }
- };
-@@ -317,7 +317,7 @@ template<> struct fmt::formatter<EntryType> : formatter<std::string>
- //! adds support for formatting MemberListType
- template<> struct fmt::formatter<MemberListType> : formatter<std::string>
- {
-- auto format(MemberListType type, format_context& ctx) {
-+ auto format(MemberListType type, format_context& ctx) const {
- return formatter<std::string>::format(type.to_string(),ctx);
- }
- };
diff --git a/app-text/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch b/app-text/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch
deleted file mode 100644
index 2c71a0af9ae8..000000000000
--- a/app-text/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/906920
-https://gitlab.exherbo.org/exherbo/arbor/-/commit/7b517ba0068adc471fe7b2ed8cfbb191a197ca17
-
-From 6d713aa98b36ee8219294515142c0225fbd09dfc Mon Sep 17 00:00:00 2001
-From: Heiko Becker <heirecka@exherbo.org>
-Date: Thu, 25 May 2023 10:52:29 +0200
-Subject: [PATCH] Apply upstream fix for spdlog
-
-Fixes the build with musl >= 1.2.4, see
-https://github.com/gabime/spdlog/commit/287a00d364990edbb621fe5e392aeb550135fb96
-for details.
---- a/deps/spdlog/include/spdlog/details/os-inl.h
-+++ b/deps/spdlog/include/spdlog/details/os-inl.h
-@@ -236,8 +236,8 @@ SPDLOG_INLINE size_t filesize(FILE *f)
- # else
- int fd = ::fileno(f);
- # endif
--// 64 bits(but not in osx or cygwin, where fstat64 is deprecated)
--# if (defined(__linux__) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
-+// 64 bits(but not in osx, linux/musl or cygwin, where fstat64 is deprecated)
-+# if ((defined(__linux__) && defined(__GLIBC__)) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
- struct stat64 st;
- if (::fstat64(fd, &st) == 0)
- {
---
-2.41.0.rc2
diff --git a/app-text/doxygen/files/doxygen-1.9.8-spdlog-link.patch b/app-text/doxygen/files/doxygen-1.9.8-spdlog-link.patch
deleted file mode 100644
index e73385dec3b2..000000000000
--- a/app-text/doxygen/files/doxygen-1.9.8-spdlog-link.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://github.com/doxygen/doxygen/issues/10265
-https://github.com/doxygen/doxygen/pull/10284
-
-From 70bb112352ae7f3130647dcc009d8de5d4134e6d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?=
- =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <mehdi.chinoune@hotmail.com>
-Date: Mon, 4 Sep 2023 18:49:27 +0100
-Subject: [PATCH 1/2] doxyapp: Fix linking to spdlog
-
----
- addon/doxyapp/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/addon/doxyapp/CMakeLists.txt b/addon/doxyapp/CMakeLists.txt
-index 4f3c31feacd..6097a3cca69 100644
---- a/addon/doxyapp/CMakeLists.txt
-+++ b/addon/doxyapp/CMakeLists.txt
-@@ -46,7 +46,7 @@ mscgen
- doxygen_version
- doxycfg
- vhdlparser
--spdlog
-+spdlog::spdlog
- ${ICONV_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
- ${SQLITE3_LIBRARIES}
-
-From 71f2ed171a6d14a67f1905802714add974c31789 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?=
- =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <mehdi.chinoune@hotmail.com>
-Date: Mon, 4 Sep 2023 18:50:25 +0100
-Subject: [PATCH 2/2] doxyparse: Fix linking to spdlog
-
----
- addon/doxyparse/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/addon/doxyparse/CMakeLists.txt b/addon/doxyparse/CMakeLists.txt
-index 24881e3ef12..0157afb45e2 100644
---- a/addon/doxyparse/CMakeLists.txt
-+++ b/addon/doxyparse/CMakeLists.txt
-@@ -35,7 +35,7 @@ mscgen
- doxygen_version
- doxycfg
- vhdlparser
--spdlog
-+spdlog::spdlog
- ${ICONV_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
- ${SQLITE3_LIBRARIES}
-
diff --git a/app-text/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch b/app-text/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch
deleted file mode 100644
index 04d1d69b7b86..000000000000
--- a/app-text/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-https://github.com/doxygen/doxygen/issues/10263
-https://github.com/doxygen/doxygen/commit/28609fecd41d885e54fa170e499a0e5b55def2c2
-
-From 28609fecd41d885e54fa170e499a0e5b55def2c2 Mon Sep 17 00:00:00 2001
-From: Dimitri van Heesch <doxygen@gmail.com>
-Date: Mon, 28 Aug 2023 20:19:16 +0200
-Subject: [PATCH] issue #10263 please add a use_sys_sqlite3 config option
-
----
- CMakeLists.txt | 6 +++++-
- cmake/FindSQLite3.cmake | 38 ++++++++++++++++++++++++++++++++++++++
- deps/CMakeLists.txt | 4 +++-
- src/CMakeLists.txt | 4 +++-
- 4 files changed, 49 insertions(+), 3 deletions(-)
- create mode 100644 cmake/FindSQLite3.cmake
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4957c34c24d..31e53cc8440 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -25,7 +25,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- option(use_libc++ "Use libc++ as C++ standard library." ON)
- endif()
- option(use_libclang "Add support for libclang parsing." OFF)
--option(use_sys_spdlog "Use system spdlog instead of bundled." OFF)
-+option(use_sys_spdlog "Use system spdlog library instead of the one bundled." OFF)
-+option(use_sys_sqlite3 "Use system sqlite3 library instead of the one bundled." OFF)
- option(static_libclang "Link to a statically compiled version of LLVM/libclang." OFF)
- option(win_static "Link with /MT in stead of /MD on windows" OFF)
- option(enable_console "Enable that executables on Windows get the CONSOLE bit set for the doxywizard executable [development]" OFF)
-@@ -67,6 +68,9 @@ endif()
- if (use_sys_spdlog)
- find_package(spdlog CONFIG REQUIRED)
- endif()
-+if (use_sys_sqlite3)
-+ find_package(SQLite3 REQUIRED)
-+endif()
- if (build_wizard)
- if (force_qt STREQUAL "Qt6")
- if (CMAKE_SYSTEM MATCHES "Darwin")
-diff --git a/cmake/FindSQLite3.cmake b/cmake/FindSQLite3.cmake
-new file mode 100644
-index 00000000000..7c21de223a7
---- /dev/null
-+++ b/cmake/FindSQLite3.cmake
-@@ -0,0 +1,38 @@
-+# Copyright (C) 2007-2009 LuaDist.
-+# Created by Peter Kapec <kapecp@gmail.com>
-+# Redistribution and use of this file is allowed according to the terms of the MIT license.
-+# For details see the COPYRIGHT file distributed with LuaDist.
-+# Note:
-+# Searching headers and libraries is very simple and is NOT as powerful as scripts
-+# distributed with CMake, because LuaDist defines directories to search for.
-+# Everyone is encouraged to contact the author with improvements. Maybe this file
-+# becomes part of CMake distribution sometimes.
-+
-+# - Find sqlite3
-+# Find the native SQLite3 headers and libraries.
-+#
-+# SQLite3_INCLUDE_DIRS - where to find sqlite3.h, etc.
-+# SQLite3_LIBRARIES - List of libraries when using sqlite.
-+# SQLite3_FOUND - True if sqlite found.
-+
-+# Look for the header file.
-+FIND_PATH(SQLite3_INCLUDE_DIR NAMES sqlite3.h)
-+
-+# Look for the library.
-+FIND_LIBRARY(SQLite3_LIBRARY NAMES sqlite3)
-+
-+# Handle the QUIETLY and REQUIRED arguments and set SQLITE3_FOUND to TRUE if all listed variables are TRUE.
-+INCLUDE(FindPackageHandleStandardArgs)
-+FIND_PACKAGE_HANDLE_STANDARD_ARGS(SQLite3 DEFAULT_MSG SQLite3_LIBRARY SQLite3_INCLUDE_DIR)
-+
-+# Copy the results to the output variables.
-+IF(SQLite3_FOUND)
-+ SET(SQLite3_LIBRARIES ${SQLite3_LIBRARY})
-+ SET(SQLite3_INCLUDE_DIRS ${SQLite3_INCLUDE_DIR})
-+ELSE(SQLite3_FOUND)
-+ SET(SQLite3_LIBRARIES)
-+ SET(SQLite3_INCLUDE_DIRS)
-+ENDIF(SQLite3_FOUND)
-+
-+MARK_AS_ADVANCED(SQLite3_INCLUDE_DIRS SQLite3_LIBRARIES)
-+
-diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt
-index a689b4a7018..eb716417f22 100644
---- a/deps/CMakeLists.txt
-+++ b/deps/CMakeLists.txt
-@@ -4,4 +4,6 @@ add_subdirectory(libmscgen)
- if (NOT use_sys_spdlog)
- add_subdirectory(spdlog)
- endif()
--add_subdirectory(sqlite3)
-+if (NOT use_sys_sqlite3)
-+ add_subdirectory(sqlite3)
-+endif()
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 78a55c3f2bf..02c52240e5b 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -6,7 +6,6 @@ include_directories(
- ${PROJECT_SOURCE_DIR}/deps/libmd5
- ${PROJECT_SOURCE_DIR}/deps/liblodepng
- ${PROJECT_SOURCE_DIR}/deps/libmscgen
-- ${PROJECT_SOURCE_DIR}/deps/sqlite3
- ${PROJECT_SOURCE_DIR}/libversion
- ${PROJECT_SOURCE_DIR}/libxml
- ${PROJECT_SOURCE_DIR}/vhdlparser
-@@ -18,6 +17,9 @@ include_directories(
- if (NOT use_sys_spdlog)
- include_directories(${PROJECT_SOURCE_DIR}/deps/spdlog/include)
- endif()
-+if (NOT use_sys_sqlite)
-+ include_directories(${PROJECT_SOURCE_DIR}/deps/sqlite3)
-+endif()
-
-
- file(MAKE_DIRECTORY ${GENERATED_SRC})
-