FindCURL: add test for component

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura authored and Brad King committed 2018-12-06 11:49:04 -05:00
1 parent fc5afbe970
commit 8e5db11fd9
1 file changed
+1 -1
+1 -1
View File
@@ -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}")