[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 707cd02: * CMakeLists.txt [win32]: Suppress warnings
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 707cd02: * CMakeLists.txt [win32]: Suppress warnings for POSIX functions. |
Date: |
Wed, 10 Jan 2018 01:50:06 -0500 (EST) |
branch: master
commit 707cd028b2b419a5491d444b128d8092afd9f201
Author: Steve Robinson <address@hidden>
Commit: Werner Lemberg <address@hidden>
* CMakeLists.txt [win32]: Suppress warnings for POSIX functions.
---
CMakeLists.txt | 3 +++
ChangeLog | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0f8612..83f26b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,6 +162,9 @@ set(SHARED_LIBRARY_VERSION
${VERSION_MAJOR}.${VERSION_MINOR})
# Compiler definitions for building the library
add_definitions(-DFT2_BUILD_LIBRARY)
+if (WIN32)
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+endif ()
# Find dependencies
diff --git a/ChangeLog b/ChangeLog
index 96359ee..4dd399e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-10 Steve Robinson <address@hidden>
+
+ * CMakeLists.txt [win32]: Suppress warnings for POSIX functions.
+
2018-01-10 Ewald Hew <address@hidden>
[psaux] Correctly handle Flex features (#52846).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 707cd02: * CMakeLists.txt [win32]: Suppress warnings for POSIX functions.,
Werner LEMBERG <=