Skip to content

Commit

Permalink
CMake: Checking for CYGWIN covers MSYS2 too
Browse files Browse the repository at this point in the history
On MSYS2, both CYGWIN and MSYS are set.
  • Loading branch information
Larhzu committed Sep 28, 2024
1 parent 6aaa017 commit 1c673c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ include(GNUInstallDirs)
#
# CMake 3.27 doesn't have CMAKE_RC_COMPILER_ID so we rely on
# CMAKE_C_COMPILER_ID.
if((MINGW OR CYGWIN OR MSYS) AND (
if((MINGW OR CYGWIN) AND (
NOT CMAKE_C_COMPILER_ID STREQUAL "Clang" OR
CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "17"))
# Use workarounds with GNU windres and llvm-windres >= 17.0.0. The \x20
Expand Down

0 comments on commit 1c673c0

Please sign in to comment.