From 83d6bbcb5070d60c67b0aef271c8116d216612b5 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Thu, 27 Feb 2025 12:19:38 +0100 Subject: [PATCH] remove no longer required CMake modules Signed-off-by: Jyrki Gadinger --- CMakeLists.txt | 1 - cmake/modules/FindPdfLatex.cmake | 21 --------------------- cmake/modules/FindSphinx.cmake | 22 ---------------------- 3 files changed, 44 deletions(-) delete mode 100644 cmake/modules/FindPdfLatex.cmake delete mode 100644 cmake/modules/FindSphinx.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 6da11cd5c4..764df813d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -233,7 +233,6 @@ if(BUILD_CLIENT) if(UNIX AND NOT APPLE) find_package(Inotify REQUIRED) endif() - find_package(Sphinx) find_package(OpenSSL 1.1 REQUIRED ) find_package(PkgConfig REQUIRED) pkg_check_modules(OPENSC-LIBP11 libp11 REQUIRED IMPORTED_TARGET) diff --git a/cmake/modules/FindPdfLatex.cmake b/cmake/modules/FindPdfLatex.cmake deleted file mode 100644 index eceafab155..0000000000 --- a/cmake/modules/FindPdfLatex.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# SPDX-FileCopyrightText: 2014 ownCloud GmbH -# SPDX-License-Identifier: BSD-3-Clause -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING* file. - -find_program(PDFLATEX_EXECUTABLE NAMES pdflatex - HINTS - $ENV{PDFLATEX_DIR} - PATH_SUFFIXES bin - DOC "PDF LaTeX" -) - -include(FindPackageHandleStandardArgs) - -find_package_handle_standard_args(PdfLatex DEFAULT_MSG - PDFLATEX_EXECUTABLE -) - -mark_as_advanced( - PDFLATEX_EXECUTABLE -) diff --git a/cmake/modules/FindSphinx.cmake b/cmake/modules/FindSphinx.cmake deleted file mode 100644 index 7468234cc7..0000000000 --- a/cmake/modules/FindSphinx.cmake +++ /dev/null @@ -1,22 +0,0 @@ -# SPDX-FileCopyrightText: 2014 ownCloud GmbH -# SPDX-License-Identifier: BSD-3-Clause -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING* file. - -find_program(SPHINX_EXECUTABLE NAMES sphinx-build - HINTS - $ENV{SPHINX_DIR} - PATH_SUFFIXES bin - DOC "Sphinx documentation generator" -) - -include(FindPackageHandleStandardArgs) - -find_package_handle_standard_args(Sphinx DEFAULT_MSG - SPHINX_EXECUTABLE -) - -mark_as_advanced( - SPHINX_EXECUTABLE -)