Skip to content
Permalink
Browse files

Suppress cmake warnings in cmake 2.6

git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@9941 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Jan 7, 2009
1 parent da7cded commit 2fc021627702b5dfaafa56f79ddf23c8dee0bf13
Showing with 9 additions and 0 deletions.
  1. +9 −0 CMakeLists.txt
@@ -1,3 +1,4 @@

SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
@@ -253,6 +254,14 @@ 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

0 comments on commit 2fc0216

Please sign in to comment.
You can’t perform that action at this time.