Opened 16 years ago

Closed 15 years ago

#1160 closed enhancement (fixed)

cmake 2.6 developer warnings

Reported by: jctull Owned by: jef
Priority: minor: annoyance Milestone: Version 1.0.3
Component: Build/Install Version: Trunk
Keywords: cmake warnings Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

I'm not sure if this is occurring due to changes in trunk, or if it is from switching to cmake 2.6. I suspect the latter. This is not affecting my ability to build the source, or in qgis use.

-- Found Proj: /Library/Frameworks/PROJ.framework/unix/lib/libproj.dylib -- Found Sqlite3: /Library/Frameworks/SQLite3.framework/unix/lib/libsqlite3.dylib -- Found GEOS: /Library/Frameworks/GEOS.framework/unix/lib/libgeos.dylib -- Found GDAL: /Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib/libgdal.dylib -- Found PostgreSQL: /usr/local/pgsql/lib/libpq.dylib -- Found Expat: /usr/lib/libexpat.dylib -- Using GSL from /usr/local -- Found GRASS: /Applications/GRASS-6.3.app/Contents/MacOS (6.3.0) -- Python libraries found -- Python bindings enabled CMake Warning (dev) at CMakeLists.txt:257 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:258 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:259 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/providers/grass/CMakeLists.txt:1 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/plugins/grass/CMakeLists.txt:4 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/plugins/grass/CMakeLists.txt:21 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/python/CMakeLists.txt:9 (ADD_DEFINITIONS):

Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake --help-policy CMP0005" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done -- Generating done -- Build files have been written to: /path

Change History (4)

comment:1 by jef, 16 years ago

Keywords: warnings added; errors removed
Platform: OS XAll
Platform Version: 10.5.4
Summary: cmake 2.6 errorscmake 2.6 developer warnings
Type: bugenhancement

comment:2 by lutra, 15 years ago

Hi,

is this ticket outdated?

comment:3 by lutra, 15 years ago

Owner: changed from nobody to jef

comment:4 by lutra, 15 years ago

Resolution: fixed
Status: newclosed

I guess this is really outdated, but please reopen if I'm wrong.

Note: See TracTickets for help on using tickets.