From d25313220ee6294ac46bb524c9e7963b3ddddf43 Mon Sep 17 00:00:00 2001 From: Meagan Lang Date: Wed, 10 Jan 2024 10:24:15 -0500 Subject: [PATCH] Try disabling mingw threads patch --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2a74159..230dfeca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -435,14 +435,14 @@ if (CONDA_PREFIX AND MINGW AND if (NOT EXISTS ${THREAD_H_PATCH}) message(FATAL_ERROR "THREAD_H_PATCH does not exist (${THREAD_H_PATCH})") endif() - execute_process( - COMMAND patch -b ${THREAD_H} ${THREAD_H_PATCH} - TIMEOUT 15 - COMMAND_ECHO STDOUT - RESULT_VARIABLE ret) - if (NOT ret EQUAL 0) - message(FATAL_ERROR "Failed to apply MinGW thread patch") - endif() + # execute_process( + # COMMAND patch -b ${THREAD_H} ${THREAD_H_PATCH} + # TIMEOUT 15 + # COMMAND_ECHO STDOUT + # RESULT_VARIABLE ret) + # if (NOT ret EQUAL 0) + # message(FATAL_ERROR "Failed to apply MinGW thread patch") + # endif() endif() endif() endif()