Skip to content

Help: Clarify behavior of if() basic expressions

Craig Scott requested to merge craig.scott/cmake:doc-if-env-var into master

Changes are in response to the following forum discussion:

The behavior of if(ENV{some_var}) is potentially unexpected. It is also easy to miss the effect of CMP0054 when the expression is a quoted string.

Backport: release
Topic-rename: doc-if-basic-expressions

Edited by Brad King

Merge request reports