CMakeLists.txt
changeset 836 6514fba91816
parent 833 b260f190aa59
child 847 5e5e6c067413
--- a/CMakeLists.txt	Mon Mar 19 06:58:49 2007 +0000
+++ b/CMakeLists.txt	Mon Mar 19 07:44:04 2007 +0000
@@ -62,6 +62,11 @@
     ENDIF(PHYSFS_IS_GCC4)
 ENDIF(CMAKE_COMPILER_IS_GNUCC)
 
+IF(MSVC)
+    # VS.NET 8.0 got really really anal about strcpy, etc, which even if we
+    #  cleaned up our code, zlib, etc still use...so disable the warning.
+    ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS=1)
+ENDIF(MSVC)
 
 # Basic chunks of source code ...