[CMake] Error: XXX is not set. It must be set .... XXXConfig.cmake
Brandon Van Every
bvanevery at gmail.com
Sat Jul 14 13:12:18 EDT 2007
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 <ope-devel at gmx.de> 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
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list