[cmake-developers] [CMake 0013393]: if() behavior is different with macro parameters
Mantis Bug Tracker
mantis at public.kitware.com
Wed Jul 11 10:29:12 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13393
======================================================================
Reported By: Stephen Kelly
Assigned To:
======================================================================
Project: CMake
Issue ID: 13393
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-07-11 10:29 EDT
Last Modified: 2012-07-11 10:29 EDT
======================================================================
Summary: if() behavior is different with macro parameters
Description:
The if(<variable>) signature always evaluates to false if <variable> is a macro
parameter:
https://codereview.qt-project.org/#change,30630
This is not currently documented.
function() parameters already behave consistently with variables set with set().
This should be either documented or changed to match the behavior with regular
variables.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-07-11 10:29 Stephen Kelly New Issue
======================================================================
More information about the cmake-developers
mailing list