mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
build: HAVE_LIBPTHREAD, HAVE_PTHREAD(S) => HAVE_PTHREAD
This commit is contained in:
Vendored
+2
-5
@@ -2,11 +2,8 @@ project(libprotobuf)
|
||||
|
||||
include(CheckIncludeFiles)
|
||||
|
||||
if(NOT MSVC)
|
||||
check_include_files("pthread.h" HAVE_PTHREAD)
|
||||
if(HAVE_PTHREAD)
|
||||
add_definitions(-DHAVE_PTHREAD=1)
|
||||
endif()
|
||||
if(HAVE_PTHREAD)
|
||||
add_definitions(-DHAVE_PTHREAD=1)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
|
||||
Reference in New Issue
Block a user