I've had quoting and argument passing pain with some of the Find*
facilities.  Not specifically with Curl or zlib, I haven't used those.
Suggest looking carefully at passing ${VAR} vs. "${VAR}", especially
when dealing with lists of inputs.

Cheers,
Brandon van Every


On 7/14/07, ope <[EMAIL PROTECTED]> wrote:
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

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

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

Reply via email to