The generally-accepted correct behaviour for such a warning in CMake is
to make it a status message (using message(STATUS "...")). The current
behaviour is treating it as an error. This is unnoticeable when using
cmake, but when you use ccmake (or the CMake GUI on Windows), you get
dumped to the error message window in the middle of generating, which
should only happen when the generation has suffered an error that will
prevent building (like not finding a _required_ library). The result is
confused users, as below.
On 31/03/10 12:48, Richard Vaughan wrote:
> On Sun, Mar 21, 2010 at 8:18 PM, JIA Pei <jp4work@...> wrote:
>> Hi, all:
>> It seems I'm still able to compile Stage 3.2.2 after installing player 3.0.1
>> it's still quite a bit annoying whenever I tried to compile Stage, I
>> obtained the error message "Websim not detected" during "cmake".
>> Is it possible to remove this error message notification "Websim not
>> detected" during the process of "cmake"?
> It's not an error or warning, just information. It's pretty useful if
> you're wondering why you don't have websim support. It has the same
> behaviour as when it's looking for FLTK or Player, i.e. it tells you
> what it's looking for, and it tells you if it found it or not.
> If anyone else finds it annoying, please let me know and I'll
> reconsider this behaviour.