curl: Update build within CMake to account for 7.62 changes

This commit is contained in:
Brad King 2018-10-31 09:50:04 -04:00
parent 636bcefeab
commit 2b3c1bb9b0

View File

@ -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)