--- a/cmake/modules.orig/summary.cmake	2008-02-09 01:27:56.000000000 +0000
+++ b/cmake/modules/summary.cmake	2008-11-04 16:25:59.968913787 +0000
@@ -30,7 +30,7 @@
 
 CMAKE_BUILD_TYPE:		${CMAKE_BUILD_TYPE}
 CMAKE_CXX_COMPILER:		${CMAKE_CXX_COMPILER}")
-if(NOT CMAKE_BUILD_TYPE)
+if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None")
 set(_output_results
 "${_output_results}
 CMAKE_CXX_FLAGS:		${CMAKE_CXX_FLAGS}")
