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 as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target "plplotd" links to some libraries for which the linker must search: gdi32, comdlg32 and other libraries with known full path: /lib/cd.lib C:/arjen/plplot-svn/install-windows/dll/csironn.lib CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for more information. This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done -- Build files have been written to: C:/arjen/plplot-svn/install-windows My guess is this will happen on any Windows platform as the gdi32 and comdlg32 are commonly used system libraries. I will go on with the testing, as I have no idea if this is merely an inconvenience or truly something that requires looking into. Regards, Arjen ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel