diff Resources/CMake/GoogleLogConfiguration.cmake @ 1379:d0bb3dd34e2d

find build on old versions of MinGW
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 12:59:43 +0200
parents 601d34afdab9
children 704de8c30ff5
line wrap: on
line diff
--- a/Resources/CMake/GoogleLogConfiguration.cmake	Fri May 29 11:57:53 2015 +0200
+++ b/Resources/CMake/GoogleLogConfiguration.cmake	Fri May 29 12:59:43 2015 +0200
@@ -166,3 +166,11 @@
 
   link_libraries(glog)
 endif()
+
+
+CHECK_INCLUDE_FILES(sec_api/string_s.h HAVE_SECURE_STRING_EXTENSIONS)
+if (HAVE_SECURE_STRING_EXTENSIONS)
+  add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=1)
+else()
+  add_definitions(-DHAVE_SECURE_STRING_EXTENSIONS=0)
+endif()