Permalink
Browse files

add USE_GENERIC_MS_NINT support (#4617)

  • Loading branch information...
1 parent 0ad1555 commit 4be6eb605c367ecab823af3c9ac923a377c3c325 @tbonfort tbonfort committed Mar 28, 2013
Showing with 6 additions and 0 deletions.
  1. +5 −0 CMakeLists.txt
  2. +1 −0 mapserver-config.h.in
View
@@ -130,6 +130,7 @@ option(BUILD_STATIC "Also build a static version of mapserver" OFF)
option(LINK_STATIC_LIBMAPSERVER "Link to static version of libmapserver (also for mapscripts)" OFF)
option(WITH_FLEX_BISON "Regenerate parser" OFF)
option(WITH_APACHE_MODULE "include (experimental) support for apache module" OFF)
+option(WITH_GENERIC_NINT "generic rounding" OFF)
#TODO: USE_OGL? , USE_SDE, USE_CLUSTER_EXTERNAL USE_CLUSTER_PLUGIN, USE_MSSQL2008, USE_MSSQL2008_PLUGIN
# SIGNORE_MISSING_DATA, CGI_CL_DEBUG_ARGS, EXTRA DEBUG FLAGS?,
@@ -295,6 +296,10 @@ if(WITH_ICONV)
endif(ICONV_FOUND)
endif (WITH_ICONV)
+if(WITH_GENERIC_NINT)
+ set(USE_GENERIC_MS_NINT 1)
+endif(WITH_GENERIC_NINT)
+
if(WITH_CAIRO)
find_package(Cairo)
@@ -34,6 +34,7 @@
#cmakedefine USE_ORACLE_PLUGIN 1
#cmakedefine USE_EXEMPI 1
#cmakedefine USE_XMLMAPFILE 1
+#cmakedefine USE_GENERIC_MS_NINT 1
/*windows specific hacks*/
#if defined(_WIN32)

0 comments on commit 4be6eb6

Please sign in to comment.