Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fa / fastcdr / 0001-Do-not-require-wget-and-unzip.patch
blob8908beb082408a05e8a32d6e773e3a47786a98cd
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 Date: Sat, 5 Jun 2021 14:50:26 +0200
3 Subject: [PATCH] Do not require wget and unzip
6 diff --git a/CMakeLists.txt b/CMakeLists.txt
7 index 2261fe7..ce8edad 100644
8 --- a/CMakeLists.txt
9 +++ b/CMakeLists.txt
10 @@ -243,21 +243,6 @@ if(BUILD_DOCUMENTATION)
11 set(DOXYFILE_MAKE make.bat)
12 endif()
14 - if(NOT CHECK_DOCUMENTATION)
15 - find_program(WGET_EXE wget)
16 - if(WGET_EXE)
17 - message(STATUS "Found WGet: ${WGET_EXE}")
18 - else()
19 - message(FATAL_ERROR "wget is needed to build the documentation. Please install it correctly")
20 - endif()
21 - find_program(UNZIP_EXE unzip)
22 - if(UNZIP_EXE)
23 - message(STATUS "Found Unzip: ${UNZIP_EXE}")
24 - else()
25 - message(FATAL_ERROR "unzip is needed to build the documentation. Please install it correctly")
26 - endif()
27 - endif()
29 # Target to create documentation directories
30 add_custom_target(docdirs
31 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/doc
32 --
33 2.40.1