diff --git a/cmake/FindCURL.cmake b/cmake/FindCURL.cmake index 0b20c4e79..60937c64e 100644 --- a/cmake/FindCURL.cmake +++ b/cmake/FindCURL.cmake @@ -46,7 +46,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") find_library( CURL_LIBRARY_DEBUG - NAMES ${CURL_DEBUG} + NAMES ${CURL_NAMES_DEBUG} DOC "curl debug library" )