summaryrefslogtreecommitdiff
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-11 10:58:27 -0400
committerBrad King <brad.king@kitware.com>2017-05-11 11:27:37 -0400
commit11ba72c6d604db44e12b0f67f20a0e192d69b970 (patch)
treefac74eb1fb898df15366704101c0c485e8d30ebd /Utilities/cmcurl
parent299975908ada992800791fac7f3739050e0ae2a9 (diff)
downloadcmake-11ba72c6d604db44e12b0f67f20a0e192d69b970.tar.gz
curl: Skip building docs within CMake
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index db08a1da3f..fd5416f842 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/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)