CMakeLists.txt
changeset 836 6514fba91816
parent 833 b260f190aa59
child 847 5e5e6c067413
equal deleted inserted replaced
835:3facf34844bc 836:6514fba91816
    60     IF(PHYSFS_IS_GCC4)
    60     IF(PHYSFS_IS_GCC4)
    61         ADD_DEFINITIONS(-fvisibility=hidden)
    61         ADD_DEFINITIONS(-fvisibility=hidden)
    62     ENDIF(PHYSFS_IS_GCC4)
    62     ENDIF(PHYSFS_IS_GCC4)
    63 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    63 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    64 
    64 
       
    65 IF(MSVC)
       
    66     # VS.NET 8.0 got really really anal about strcpy, etc, which even if we
       
    67     #  cleaned up our code, zlib, etc still use...so disable the warning.
       
    68     ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS=1)
       
    69 ENDIF(MSVC)
    65 
    70 
    66 # Basic chunks of source code ...
    71 # Basic chunks of source code ...
    67 
    72 
    68 SET(ZLIB_SRCS
    73 SET(ZLIB_SRCS
    69     zlib123/adler32.c
    74     zlib123/adler32.c