Просмотр исходного кода

curl: Skip building docs within CMake

Brad King 8 лет назад
Родитель
Сommit
11ba72c6d6
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      Utilities/cmcurl/CMakeLists.txt

+ 5 - 0
Utilities/cmcurl/CMakeLists.txt

@@ -290,8 +290,11 @@ if(ENABLE_MANUAL)
     message(WARNING "Found no *nroff program")
   endif()
 endif()
+
+if(0) # This code not needed for building within CMake.
 # Required for building manual, docs, tests
 find_package(Perl REQUIRED)
+endif()
 
 # We need ansi c-flags, especially on HP
 set(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
@@ -1125,7 +1128,9 @@ function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE)
 
 endfunction()
 
+if(0) # This code not needed for building within CMake.
 add_subdirectory(docs)
+endif()
 add_subdirectory(lib)
 if(BUILD_CURL_EXE)
   add_subdirectory(src)