cmake: improve pthread inclusion

This commit is contained in:
scribam 2018-04-29 08:39:12 +02:00 committed by Ivan
parent 3dfe46fc42
commit 8f975e2329
2 changed files with 6 additions and 5 deletions

View file

@ -28,7 +28,4 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
if(APPLE)
add_compile_options(-stdlib=libc++)
endif()
if(WIN32)
add_compile_options(-pthread)
endif()
endif()