mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53: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)
|
||||
|
||||
Vendored
+1
-1
@@ -67,7 +67,7 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
if (HAVE_LIBPTHREAD)
|
||||
if(HAVE_PTHREAD)
|
||||
add_definitions(-DUSE_PTHREAD) #required for Unix
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user