summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-31 13:50:04 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-31 13:50:04 (GMT)
commit2b3c1bb9b014cf34ab882b8ab9569846c274cc8a (patch)
tree7953b26042ab546c435ca3b9964dc878b4847057 /Utilities/cmcurl
parent636bcefeab3b386e65efe03b199b9b2614d8a78d (diff)
downloadCMake-2b3c1bb9b014cf34ab882b8ab9569846c274cc8a.zip
CMake-2b3c1bb9b014cf34ab882b8ab9569846c274cc8a.tar.gz
CMake-2b3c1bb9b014cf34ab882b8ab9569846c274cc8a.tar.bz2
curl: Update build within CMake to account for 7.62 changes
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index b34a493..2d6def4 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -1263,6 +1263,7 @@ function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE)
endfunction()
+if(0) # This code not needed for building within CMake.
include(GNUInstallDirs)
set(CURL_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
@@ -1270,6 +1271,7 @@ set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")
set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
+endif()
if(USE_MANUAL)
add_subdirectory(docs)