Commit b272f475 authored by neverlord's avatar neverlord Committed by Dominik Charousset

Do not use -pthread option on WIN32

parent aef6f0a4
...@@ -135,7 +135,7 @@ if(ENABLE_ADDRESS_SANITIZER) ...@@ -135,7 +135,7 @@ if(ENABLE_ADDRESS_SANITIZER)
message(STATUS "Enable address sanitizer") message(STATUS "Enable address sanitizer")
endif(ENABLE_ADDRESS_SANITIZER) endif(ENABLE_ADDRESS_SANITIZER)
# -pthread is ignored on MacOSX, enable it for all other platforms # -pthread is ignored on MacOSX, enable it for all other platforms
if(NOT APPLE) if(NOT APPLE AND NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
endif() endif()
# extra setup steps needed on MinGW # extra setup steps needed on MinGW
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment