Bug in cmake's "remove_definitions"
Dmitry Suzdalev
dimsuz at gmail.com
Sat May 20 00:47:13 CEST 2006
I believe, I've found bug in cmake.
KDE4_DEFINITIONS in FindKDE4Internal.cmake among the others contains flags
"-DQT3_SUPPORT" and "-DQT3_SUPPORT_WARNINGS".
When I added
remove_definitions(-DQT3_SUPPORT)
I got a compile time error:
c++: _WARNINGS: No such file or directory
You see? "-DQ3_SUPPORT" was cutted from "-DQT3_SUPPORT_WARNINGS" macro
effectively leaving _WARNINGS on command line to produce an error :).
Hope this helps.
Dmitry.
More information about the Kde-buildsystem
mailing list