diff --git a/CMakeLists.txt b/CMakeLists.txt index b0f86126b..83f26b94b 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 96359ee80..4dd399e5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-01-10 Steve Robinson + + * CMakeLists.txt [win32]: Suppress warnings for POSIX functions. + 2018-01-10 Ewald Hew [psaux] Correctly handle Flex features (#52846).