[CMake] Change RPATH at the packaging stage

Rolf Eike Beer eike at sf-mail.de
Fri Nov 2 13:17:55 EDT 2012


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
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121102/c3f4b3c2/attachment.pgp>


More information about the CMake mailing list