cmake: drop reference to undefined variable

Undefined since the initial commit adding CMake support.

Closes #14358
This commit is contained in:
Viktor Szakats 2024-08-02 15:05:35 +02:00
parent f5b826532f
commit b6089c35d9
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -53,10 +53,10 @@ macro(curl_internal_test CURL_TEST)
"${CURL_TEST_ADD_LIBRARIES}"
OUTPUT_VARIABLE OUTPUT)
if(${CURL_TEST})
set(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}")
set(${CURL_TEST} 1 CACHE INTERNAL "Curl test")
message(STATUS "Performing Test ${CURL_TEST} - Success")
else()
set(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}")
set(${CURL_TEST} "" CACHE INTERNAL "Curl test")
message(STATUS "Performing Test ${CURL_TEST} - Failed")
endif()
endif()