[poppler] CMakeLists.txt
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Nov 2 12:22:23 PDT 2011
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 955cd0c7bd3a72340deba098f4242a4904adc60f
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Nov 2 20:20:41 2011 +0100
Compile with MSVC needed for last change in the qt4 frontend
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3bb385..9864fcb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -347,6 +347,7 @@ endif(TIFF_FOUND)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+set(CMAKE_CXX_FLAGS "/Zc:wchar_t- ${CMAKE_CXX_FLAGS}")
add_library(poppler STATIC ${poppler_SRCS})
else(MSVC)
add_library(poppler SHARED ${poppler_SRCS})
More information about the poppler
mailing list