Require cURL in CMakeLists.txt if USE_CURL is defined.

This commit is contained in:
Yamagi Burmeister 2019-01-05 16:53:00 +01:00
parent f0d848d3d3
commit 46503018f0

View file

@ -112,6 +112,7 @@ endif()
# cURL support.
if (${CURL_SUPPORT})
find_package(CURL REQUIRED)
add_definitions(-DUSE_CURL)
endif()