[CMake] String option recognized as boolean
Андрей Парамонов
cmr.pent at gmail.com
Fri May 30 16:06:29 EDT 2014
I have now checked on different system, and it works now in cmake-gui (with
patched CMakeFilters.cmake)!
Thank you for your support,
Andrey Paramonov
2014-05-30 14:46 GMT+04:00 Nils Gladitz <nilsgladitz at gmail.com>:
> On 05/30/2014 12:28 PM, Андрей Парамонов wrote:
>
>> However, in any case cmake-gui shows a checkbox, not a editbox/combobox.
>> So, it's likely a problem of cmake-gui.
>>
>>
> I tried this reduced CMakeLists.txt:
>
> cmake_minimum_required(VERSION 2.8.12)
>
> set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External
> Library Building (NO SVN TGZ)")
>
> SET_PROPERTY(CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO SVN
> TGZ)
>
>
> cmake-gui (2.8.12.2) gives me a drop-down list with the three distinct
> values "NO", "SVN", TGZ".
>
> Nils
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140531/d84b53c0/attachment.html>
More information about the CMake
mailing list