[CMake] String option recognized as boolean
Андрей Парамонов
cmr.pent at gmail.com
Fri May 30 06:28:25 EDT 2014
2014-05-30 14:12 GMT+04:00 David Cole <dlrdave at aol.com>:
> The cache is telling you:
>
>
> "//No help, variable specified on the command line."
>
> If you want the help string from your sources to appear in the
> CMakeCache.txt, then don't specify a value for it on the command line...
>
> Delete the cache, and try again without giving the arg on the command
> line, and it should pick up the doc string from the source
>
I did as you suggested and indeed, in CMakeCache.txt I now see
//Allow External Library Building (NO SVN TGZ)
HDF5_ALLOW_EXTERNAL_SUPPORT:STRING=NO
With option() instead of set(), it was
//Allow External Library Building (NO SVN TGZ)
HDF5_ALLOW_EXTERNAL_SUPPORT:BOOL=OFF
(incorrect).
However, in any case cmake-gui shows a checkbox, not a editbox/combobox.
So, it's likely a problem of cmake-gui.
Best wishes,
Andrey Paramonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140530/1dd7d8f2/attachment.html>
More information about the CMake
mailing list