[poppler] CMakeLists.txt

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Aug 16 13:40:06 UTC 2018


 CMakeLists.txt |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 1b0b9e14e25494dfc08bbb9fe7232c7fca0d7f32
Author: Hannah von Reth <vonreth at kde.org>
Date:   Thu Aug 16 15:39:28 2018 +0200

    Remove wchar_t- on MSVC
    
    Qt is built with wchar_t so if you try to build poppler without it,
    there are conflicting types and everything fails

diff --git a/CMakeLists.txt b/CMakeLists.txt
index da9d5364..4898274a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -485,7 +485,6 @@ endif()
 
 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()
 add_library(poppler ${poppler_SRCS})


More information about the poppler mailing list