[CMake] Re: [cmake 2.5 CVS] CMAKE_${LANG}_FLAGS is initialized
with space
Bill Hoffman
bill.hoffman at kitware.com
Fri Dec 14 14:55:34 EST 2007
Brandon Van Every wrote:
> On Dec 14, 2007 2:34 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
>> So, although odd that it has a space in it, it is benign.
>
> It's malignant from the standpoint of IF. CMAKE_C_FLAGS is being
> initialized to a nonempty string. That means
> if(CMAKE_C_FLAGS) will succeed. Should file a bug or fix it.
>
Sure, or better yet create a patch and file it... :)
Since this is in CMAke 2.4 and CVS, it is a bug that folks have been
living with for a loooong time, and this is the first report of an issue.
-Bill
More information about the CMake
mailing list