Skip to content

Commit

Permalink
Try disabling mingw threads patch
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Jan 10, 2024
1 parent c2431cd commit d253132
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d253132

Please sign in to comment.