Skip to content

Commit

Permalink
pyspatialite: inhibit warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 13, 2011
1 parent 29848ea commit f037766
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/pyspatialite/CMakeLists.txt
Expand Up @@ -19,6 +19,12 @@ SET(PYSPATIALITE_SRC
src/util.c src/util.c
) )


IF(MSVC)
SET_SOURCE_FILES_PROPERTIES(${PYSPATIALITE_SRC} PROPERTIES COMPILE_FLAGS /W0)
ELSE(MSVC)
SET_SOURCE_FILES_PROPERTIES(${PYSPATIALITE_SRC} PROPERTIES COMPILE_FLAGS -w)
ENDIF(MSVC)

ADD_DEFINITIONS(-DMODULE_NAME=\\\"spatialite.dbapi2\\\") ADD_DEFINITIONS(-DMODULE_NAME=\\\"spatialite.dbapi2\\\")


IF (CYGWIN OR APPLE) IF (CYGWIN OR APPLE)
Expand Down

0 comments on commit f037766

Please sign in to comment.