Navigation Menu

Skip to content

Commit

Permalink
Suppress cmake warnings in cmake 2.6
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9942 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 7, 2009
1 parent 1cc0441 commit 816478d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Expand Up @@ -253,6 +253,15 @@ ELSE (WIN32)
ENDIF (WIN32)


#assume we have excaped compiler directives
#eventually we want to change this to new
#since we dont need to jump through so many
#hoops to escape compiler directives then
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
cmake_policy(SET CMP0005 OLD)
ENDIF(COMMAND cmake_policy)

IF (WIN32)
# expect that classes are being imported
# Note: MSVC doesn't like when the macros are quotes
Expand Down

0 comments on commit 816478d

Please sign in to comment.