[CMake] Error: XXX is not set. It must be set .... XXXConfig.cmake

ope ope-devel at gmx.de
Sat Jul 14 11:23:14 EDT 2007


Hi,

the following error occoured with the entries in my CMakeList.txt

find_package(Curl REQUIRED)
include_directories(${Curl_INCLUDE_DIR})
link_directories(${Curl_LIBRARIES})

with cmake CURL_DIR="/usr"

CMake Error: Curl_DIR is not set.  It must be set to the directory
containing CurlConfig.cmake in order to use Curl.

The same with zlib. What is wrong here?

Thanks
Olaf



More information about the CMake mailing list