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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers