Re: [Plplot-devel] CMake 2.6 issues a warning

2008-05-13 Thread Arjen Markus
Alan W. Irwin wrote: > > For CMake 2.6.x you get the above warning if the preferred absolute > pathnames are not used by libraries. I have modified FindGDI32.cmake and > wingcc.cmake (revision 8412) to use find_library to find the gdi32 and > associated libraries. find_library always returns the

Re: [Plplot-devel] CMake 2.6 issues a warning

2008-05-13 Thread Alan W. Irwin
On 2008-05-13 20:08+0200 Arjen Markus wrote: > CMake Warning (dev) at src/CMakeLists.txt:129 (add_library): > Policy CMP0003 should be set before this line. Add code such as > >if(COMMAND cmake_policy) > cmake_policy(SET CMP0003 NEW) >endif(COMMAND cmake_policy) > > as early as pos

[Plplot-devel] CMake 2.6 issues a warning

2008-05-13 Thread Arjen Markus
Hi, I am testing CMake 2.6 on "bare" Windows XP, using the latest version of PLplot. At the end of the generation of the makefiles I get this warning: -- Configuring done CMake Warning (dev) at src/CMakeLists.txt:129 (add_library): Policy CMP0003 should be set before this line. Add code such