I am tryin to generate a Visual Studio 2019 project and build osgEarth. But when I push the configure button on CMake, get the following error messages:
CMake Error at C:/Program Files/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.20/Modules/FindCURL.cmake:181 (find_package_handle_standard_args)
Apparently CMake cannot find the CURL directories. But when I was building OpenSceneGraph with its dependencies including CURL, I did not encounter an error like this. What can be the solution to this?