--- xalan_c-1.12/src/xalanc/CMakeLists.txt.orig	2020-10-21 12:38:39.348129900 +0300
+++ xalan_c-1.12/src/xalanc/CMakeLists.txt	2020-10-21 12:38:45.493335800 +0300
@@ -1030,7 +1030,7 @@
 endif()
 set_target_properties(xalan-c PROPERTIES FOLDER "Library")
 
-if(WIN32)
+if(MSVC)
   set(xalan_config_dir "cmake")
 else()
   set(xalan_config_dir "${CMAKE_INSTALL_LIBDIR}/cmake/XalanC")
