Skip to content
Permalink
Browse files

pyspatialite: inhibit warnings.

  • Loading branch information
jef-n committed Jul 13, 2011
1 parent 29848ea commit f0377663bd3807a7f2af7c006434a9392cc3be99
Showing with 6 additions and 0 deletions.
  1. +6 −0 python/pyspatialite/CMakeLists.txt
@@ -19,6 +19,12 @@ SET(PYSPATIALITE_SRC
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\\\")

IF (CYGWIN OR APPLE)

0 comments on commit f037766

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