mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
curl: Skip building docs within CMake
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user