[CMake] Manually-specified variables were not used by the project
Haio Maio
haiomaio2 at mailbox.org
Fri May 24 13:38:56 EDT 2019
Manually-specified variables were not used by the project
MY_VAR
when I call
cmake -DMY_VAR= ...
The goal is
if(NOT DEFINED MY_VAR)
...
else()
...
if()
in order to tell cmake over the command line what to do.
How to achieve this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190524/51405457/attachment.html>
More information about the CMake
mailing list