[CMake] String option recognized as boolean

Андрей Парамонов cmr.pent at gmail.com
Fri May 30 02:27:38 EDT 2014


To reproduce:

1) Download http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.13.zip,
unzip to hdf5-1.8.13.

2) Run cmake -G "Visual Studio 12" hdf5-1.8.13

3) Run cmake-gui, find HDF5_ALLOW_EXTERNAL_SUPPORT option. Note that it was
recognized as boolean, while in sources it is described as string with
possible values "NO", "TGZ", "SVN".

Is it a problem in cmake or in HDF5 sources? If the latter, how could it be
fixed?
I'm a first-time cmake user, so please forgive my ignorance ;-)

Best wishes,
Andrey Paramonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140530/0b65c4a4/attachment.html>


More information about the CMake mailing list