Skip to content
Browse files
Suppress cmake warnings in cmake 2.6
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 7, 2009
1 parent 1cc0441 commit 816478d2d0e24b6acbf17c8dab5447b39f1cfdbe
Showing with 9 additions and 0 deletions.
  1. +9 −0 CMakeLists.txt
@@ -253,6 +253,15 @@ ELSE (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 816478d

Please sign in to comment.