From 8e5db11fd926ddb615f672a16f2e6fe5643f3a8d Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Wed, 5 Dec 2018 11:59:29 +0900 Subject: FindCURL: add test for component Signed-off-by: Hiroshi Miura --- Tests/FindCURL/Test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- cgit v0.12