mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
FindCURL: add test for component
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
1 parent
fc5afbe970
commit
8e5db11fd9
1 file changed
+1
-1
@@ -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