On Sunday 28 October 2012, Brad Bell wrote:
> The CMakeLists.txt command
>      option( <option_variable> "help string describing option" [initial
> value] )
> Provides an option for the user to select as ON or OFF; i.e., a BOOL.
> 
> How does one provide an option for the user to select that is a PATH ?

set(SOME_PATH "/usr/" CACHE PATH "A path to something")

Alex
--

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