Skip to content

Commit

Permalink
set(OQS_USE_PTHREADS OFF) on MinGW/Cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
zxjtan committed Feb 12, 2024
1 parent 3e34ed1 commit 709d3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .CMake/compiler_opts.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
endif()

if(MINGW OR MSYS OR CYGWIN)
set(OQS_USE_PTHREADS OFF)
add_compile_options(-Wno-maybe-uninitialized)
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0")
add_link_options(-Wl,--stack,16777216)
Expand Down

0 comments on commit 709d3d8

Please sign in to comment.