mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 04:49:08 +08:00
659b6b5eea
* [zlib] Use readme as copyright * [soil2] update to 1.3.0 * [bento4] update to 1.6.0-639 * [bento4] fix version db * [zlib] Format manifest * [anglescript] Remove local license * [bustache] Update to master * [bustache] Don't update * version * version * remove version string * remove v * version * version * Fix version database. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
14 lines
348 B
Diff
14 lines
348 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0fe939d..e4fc213 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -59,7 +59,7 @@ endif()
|
|
#
|
|
check_include_file(unistd.h Z_HAVE_UNISTD_H)
|
|
|
|
-if(MSVC)
|
|
+if(WIN32)
|
|
set(CMAKE_DEBUG_POSTFIX "d")
|
|
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
|
|
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|