mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 05:48:25 +08:00
14 lines
462 B
Diff
14 lines
462 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index be8d2e8..418e2f2 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -37,7 +37,7 @@ STRING(TIMESTAMP BUILD_TIMESTAMP UTC)
|
|
MESSAGE(STATUS "Timestamp is ${BUILD_TIMESTAMP}")
|
|
|
|
IF(WIN32)
|
|
- ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -MD)
|
|
+ ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN)
|
|
ELSEIF(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
|
|
ADD_DEFINITIONS(-DOSX)
|
|
ENDIF()
|