Commit 236f4ff4 authored by Hannah von Reth's avatar Hannah von Reth Committed by Albert Astals Cid

Use WIN32_LEAN_AND_MEAN on Windows

parent 1abf98b7
......@@ -519,6 +519,8 @@ if(USE_CMS)
endif(LCMS2_FOUND)
endif(USE_CMS)
if(WIN32)
# use clean APIs
add_definitions(-DWIN32_LEAN_AND_MEAN)
# gdi32 is needed under win32
set(poppler_LIBS ${poppler_LIBS} gdi32)
endif(WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment