1
0
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:
Alexander Alekhin
2017-08-14 10:59:38 +03:00
parent ef2b73043d
commit 6ff9fc67bb
5 changed files with 8 additions and 18 deletions
+2 -5
View File
@@ -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)