Vyacheslav Karamov wrote:
> Thank you very much, Eric!
> It works!
> 
> ----------- CMakeLists.txt ------------------
> 
> include (FindSubversion)
> 
> if (NOT Subversion_FOUND)
> message(FATAL_ERROR "Please install subversion command-line client and
> add its folder to the system PATH")
> endif()

This can be done simpler:

find_package(Subversion REQUIRED)

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to