From d219ed7179d73afaea78a97075360d74018525e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Sat, 4 May 2024 06:42:39 +0100 Subject: [PATCH] Don't setup MSVC Runtime on MinGW --- cmake/MSVCRuntime.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/MSVCRuntime.cmake b/cmake/MSVCRuntime.cmake index f3fb97b4c..7fb9fabdb 100644 --- a/cmake/MSVCRuntime.cmake +++ b/cmake/MSVCRuntime.cmake @@ -1,4 +1,4 @@ -if (WIN32) +if (MSVC) if (CMAKE_VERSION VERSION_LESS 3.15.0) message(FATAL_ERROR "windows builds require CMake >= 3.15") endif()