From eab35a39804e4ccac521057112f138d3e32efac9 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 24 Mar 2020 13:25:43 +0100 Subject: issue #7664 bigobj not found with MSYS Makefiles MSYS compiles also with gcc and therefore should skip this code analogous to MinGW as well --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v0.12