cmake HAS_CURL examples

eclipse-ecal/ecal CMakeLists.txt :86

message(WARNING "The option HAS_CURL is deprecated and may be removed at any time. Please use ECAL_USE_CURL instead.")

OSGeo/PROJ test/CMakeLists.txt :14

find_program(HAS_CURL curl)

OSGeo/PROJ test/CMakeLists.txt :17

execute_process(
      COMMAND ${HAS_CURL} -I https://www.google.com
      OUTPUT_QUIET
      ERROR_QUIET
      RESULT_VARIABLE NO_CONNECTION
    )