From 05ffca78971bab1b9c05d7c53c44fba6abd73bda Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Mon, 16 Jun 2025 19:44:02 -0700 Subject: [PATCH] Updated build --- cmake/os.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/os.cmake b/cmake/os.cmake index 44cf56dd..be2368f9 100644 --- a/cmake/os.cmake +++ b/cmake/os.cmake @@ -1,4 +1,4 @@ -if (WIN32 OR MINGW) +if (WIN32 OR CMAKE_SYSTEM_NAME MATCHES "Windows" OR CMAKE_SYSTEM_NAME MATCHES "MSYS" OR CMAKE_SYSTEM_NAME MATCHES "MINGW") set(XMRIG_OS_WIN ON) elseif (APPLE) set(XMRIG_OS_APPLE ON)