[geos-commits] r2886 - trunk
svn_geos at osgeo.org
svn_geos at osgeo.org
Fri Jan 22 20:38:50 EST 2010
Author: mloskot
Date: 2010-01-22 20:38:50 -0500 (Fri, 22 Jan 2010)
New Revision: 2886
Modified:
trunk/CMakeLists.txt
Log:
Small fix to latest commit (#317)
Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt 2010-01-23 01:32:46 UTC (rev 2885)
+++ trunk/CMakeLists.txt 2010-01-23 01:38:50 UTC (rev 2886)
@@ -108,9 +108,11 @@
message(STATUS
"Setting GEOS compilation with small functions inlining - ${GEOS_ENABLE_INLINE}")
-if(NOT MSVC AND GEOS_ENABLE_ASSERT)
- string(REGEX REPLACE "[-/]D.*NDEBUG" "-U NDEBUG"
- CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
+if(NOT MSVC)
+ if(GEOS_ENABLE_ASSERT)
+ string(REGEX REPLACE "[-/]D.*NDEBUG" "-U NDEBUG"
+ CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
+ endif()
message(STATUS
"Setting GEOS compilation with assert() macro enabled - ${GEOS_ENABLE_ASSERT}")
endif()
More information about the geos-commits
mailing list