Remove useless pthread flag under MSVC

core4
kaetemi 3 years ago
parent 2d7a602e79
commit 5ee73e2275
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -1268,7 +1268,9 @@ MACRO(SETUP_EXTERNAL)
SET(CMAKE_USE_PTHREADS_INIT 1)
SET(Threads_FOUND TRUE)
ELSE()
SET(THREADS_HAVE_PTHREAD_ARG ON)
IF(NOT MSVC)
SET(THREADS_HAVE_PTHREAD_ARG ON)
ENDIF()
FIND_PACKAGE(Threads)
# TODO: replace all -l<lib> by absolute path to <lib> in CMAKE_THREAD_LIBS_INIT
ENDIF()

Loading…
Cancel
Save