Pau Garcia i Quiles wrote:

> You don't need to modify FindCURL.cmake. Just add c:\Program Files\curl
> to CMAKE_LIBRARY_PATH and c:\Program Files\curl\include to
> CMAKE_INCLUDE_PATH in your CMakeLists.txt.

Thanks to this suggestion and the previous one from Andreas
Pakulat, I have now solved the problem.

It seems that FIND_LIBRARY does indeed look for a .lib file, and
although one was present, it was called libcurl_imp.lib - I hadn't
noticed the _imp before, and renaming it to libcurl.lib, together
with the CMAKE_LIBRARY_PATH change, fixes the problem.

-- 
Regards

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

Reply via email to