mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
FindCURL: add test for component
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)
|
||||
project(TestFindCURL C)
|
||||
include(CTest)
|
||||
|
||||
find_package(CURL REQUIRED)
|
||||
find_package(CURL REQUIRED COMPONENTS HTTP)
|
||||
|
||||
add_definitions(-DCMAKE_EXPECTED_CURL_VERSION="${CURL_VERSION_STRING}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user