Am Samstag 14 Juli 2007 17:23 schrieb ope:
> 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"

Should be: cmake -DCurl_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?

Maybe it's case-sensitive? And you missed the -D.

HS
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to