Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
snnn
· 2y ago · 0 comments
A cmake option only has two values: ON or OFF. There is no unset. Because it is a boolean.
See:
https://cmake.org/cmake/help/latest/command/option.html
Comments
[–]
account42
2y ago
This is not actually true, you can check if variables have been defined in CMake.
[–]
xorcist
2y ago
Right, but the boolean is set by an autoconf script, is it not?