mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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
This commit is contained in:
parent
da7cded538
commit
2fc0216277
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user