Dear CMake community,

firstly, thank you for the extremely useful build tool, it's saved me a lot
of time and effort!

I'm trying to solve the following problem:

I'd like the user (i.e. non-developer compiling my code) to have the option
to specify a location for an external library and *iff* this option is set
it should be used as the 'top-priority' search location for that library,
falling back to all the others if it is not found or not set.  Ideally this
option would be set as a variable so that it is visible in e.g. ccmake.

The reason for doing this is that if the user just sets a variable to
indicate the library path I would then have to manually check that the
library does indeed exist at that path.

Is there a way to do this?

Many thanks,
-Martin
--

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