diff options
author | Brad King <brad.king@kitware.com> | 2009-09-11 14:03:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-11 14:03:59 (GMT) |
commit | 7a409fd573721ae4346bee682d80fb285ab98497 (patch) | |
tree | 501e87de0e88920cd70c49211b4dc5760f85bfdb /Source/cmSetTestsPropertiesCommand.h | |
parent | b41a548d86f8989e790f0150abd3eb337e8c03d0 (diff) | |
download | CMake-7a409fd573721ae4346bee682d80fb285ab98497.zip CMake-7a409fd573721ae4346bee682d80fb285ab98497.tar.gz CMake-7a409fd573721ae4346bee682d80fb285ab98497.tar.bz2 |
Fix option() interpretation of non-boolean values
The commit "Remove barely-used cmMakefile::AddCacheDefinition" broke
option() calls that pass a non-boolean default value. We restore the
old behavior by always coercing the value to 'ON' or 'OFF'.
Diffstat (limited to 'Source/cmSetTestsPropertiesCommand.h')
0 files changed, 0 insertions, 0 deletions