[cmake-commits] hoffman committed CMakeLists.txt 1.5 1.5.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 13 10:52:19 EDT 2006


Update of /cvsroot/CMake/CMake/Utilities/cmzlib
In directory public:/mounts/ram/cvs-serv31017/Utilities/cmzlib

Modified Files:
      Tag: CMake-2-4
	CMakeLists.txt 
Log Message:
ENH: merge changes from the main tree to the 2.4 branch


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmzlib/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- CMakeLists.txt	30 Dec 2005 19:50:05 -0000	1.5
+++ CMakeLists.txt	13 Oct 2006 14:52:17 -0000	1.5.2.1
@@ -14,6 +14,11 @@
 # Match all headers for dependencies but complain about none.
 INCLUDE_REGULAR_EXPRESSION("^.*$")
 
+# Disable warnings on Borland to avoid changing 3rd party code.
+IF(BORLAND)
+  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
+ENDIF(BORLAND)
+
 # source files for zlib
 SET(ZLIB_SRCS
   adler32.c   gzio.c      inftrees.c  uncompr.c



More information about the Cmake-commits mailing list