diff options
Diffstat (limited to 'thirdparty/zlib/CMakeLists.txt')
-rw-r--r-- | thirdparty/zlib/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/thirdparty/zlib/CMakeLists.txt b/thirdparty/zlib/CMakeLists.txt index 1721574..55423c8 100644 --- a/thirdparty/zlib/CMakeLists.txt +++ b/thirdparty/zlib/CMakeLists.txt @@ -1,6 +1,11 @@ -include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories (${CMAKE_CURRENT_SOURCE_DIR}) -add_definitions(-DNO_VIZ) +add_definitions (-DNO_VIZ) + +# adjust warnings +if (MSVC) + add_definitions (-wd4131) # uses old-style declarator +endif () add_library (z_bundled STATIC adler32.c |