--- xpdf-4.03/cmake-config.txt.orig	2021-05-19 20:13:43.401096900 +0200
+++ xpdf-4.03/cmake-config.txt	2021-05-19 20:14:12.911592400 +0200
@@ -56,7 +56,7 @@
 endif ()
 
 #--- set default C/C++ compiler flags for Windows
-if (WIN32)
+if (MSVC)
   option(USE_MT_IN_DEBUG "use /MT instead of /MTd in debug builds" OFF)
   foreach (var CMAKE_C_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG
                CMAKE_C_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE
