summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9545d0..20c87dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,7 +62,8 @@ if (CMAKE_SYSTEM MATCHES "Darwin")
endif()
if (WIN32)
- if (NOT CMAKE_GENERATOR MATCHES "MinGW Makefiles")
+ if ((NOT CMAKE_GENERATOR MATCHES "MinGW Makefiles") AND
+ (NOT CMAKE_GENERATOR MATCHES "MSYS Makefiles"))
if (NOT ICONV_DIR)
set(ICONV_DIR "${CMAKE_SOURCE_DIR}/winbuild")
endif()