mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
674c56c3fc
A common mistake is to write macro(foo arg) if(arg) endif() endmacro() and expect if() to treat "arg" as a variable. The documentation of the macro() command already states that arguments are not variables, but users writing the if() command may not look at the macro() docs. Add a note to the if() documentation.
10 KiB
10 KiB