summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorHiroshi Miura <miurahr@linux.com>2018-12-05 02:59:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-06 16:49:04 (GMT)
commit8e5db11fd926ddb615f672a16f2e6fe5643f3a8d (patch)
treebf95ab93ec3ef53d544fb6b8e2d855280bc8a756 /Tests
parentfc5afbe97094d741b853b045d51351f3a370e87e (diff)
downloadCMake-8e5db11fd926ddb615f672a16f2e6fe5643f3a8d.zip
CMake-8e5db11fd926ddb615f672a16f2e6fe5643f3a8d.tar.gz
CMake-8e5db11fd926ddb615f672a16f2e6fe5643f3a8d.tar.bz2
FindCURL: add test for component
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindCURL/Test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindCURL/Test/CMakeLists.txt b/Tests/FindCURL/Test/CMakeLists.txt
index c3c719b..cbf2866 100644
--- a/Tests/FindCURL/Test/CMakeLists.txt
+++ b/Tests/FindCURL/Test/CMakeLists.txt
@@ -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}")