[Cmake] Re: maintainers: native PNG and CMake

Amitha Perera perera at cs . rpi . edu
Wed, 29 Aug 2001 09:39:21 -0400


[ I'm sending this to the CMake list too, in case they have comments. ]

> > Is there a way for CMake to *not* detect a native PNG if it is too old?
> 
> Not at the moment. [...]

I've added the special value "IGNORE", so that you can pre-load the
cache and force the FindLibrary routine to fail:

  $ echo "NATIVE_PNG_LIBRARY:FILEPATH=IGNORE" >> CMakeCache.txt
  $ cmake ../src

You will, of course, need to update CMake to get this.

Amitha.