[poppler] Branch 'poppler-0.12' - CMakeLists.txt

Pino Toscano pino at kemper.freedesktop.org
Fri Oct 9 07:21:48 PDT 2009


 CMakeLists.txt |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0f317ac8d7271354c90f0341eb432cafb0d5f27f
Author: Patrick Spendrin <ps_ml at gmx.de>
Date:   Fri Oct 9 16:09:46 2009 +0200

    MSVC: add _CRT_SECURE_NO_WARNINGS to the define's

diff --git a/CMakeLists.txt b/CMakeLists.txt
index caaa3a6..31df730 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -262,6 +262,7 @@ if(WIN32)
 endif(WIN32)
 
 if(MSVC)
+add_definitions(-D_CRT_SECURE_NO_WARNINGS)
 set(poppler_SRCS ${poppler_SRCS} poppler/GlobalParamsWin.cc)
 add_library(poppler STATIC ${poppler_SRCS})
 else(MSVC)


More information about the poppler mailing list