diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-09-26 15:39:06 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-09-26 14:30:14 +0000 |
commit | 992fe06b30337442b96e5f8b6553e518fedcd372 (patch) | |
tree | 967a1897d1a8478a8e1ecb5066fd71f37a0908ad /CMakeLists.txt | |
parent | deeddf2cb1148a01148c84756c25be2be382a773 (diff) |
cmake: Support CMake-typical booly values for -DFEATURE_*
Allow setting feature defines to ON, YES, TRUE, Y, OFF, NO, FALSE, N and
non-negative numbers like it's possible for other defines.
We'll not allow IGNORE and NOTFOUND, because they're a bit strange in
the context of features.
Change-Id: I7f6cd6dff4c68972921b499b28916c9ad789d510
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions