commit | 236f4ff4f516cb68a2d102627b0a3da73578c67f | [log] [tgz] |
---|---|---|
author | Hannah von Reth <vonreth@kde.org> | Sun Aug 13 20:24:15 2017 +0200 |
committer | Albert Astals Cid <aacid@kde.org> | Sun Aug 13 20:30:40 2017 +0200 |
tree | c9603641fa59621873ea137e9e69ffdfc9ef2f49 | |
parent | 1abf98b76ba134adc44883cd2ae345f769ca0d5a [diff] |
Use WIN32_LEAN_AND_MEAN on Windows
diff --git a/CMakeLists.txt b/CMakeLists.txt index 390a6b5..03ef1db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -519,6 +519,8 @@ 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)