mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-20 07:25:05 +08:00
Use cmake policy CMP0074 only with version 3.12 or newer
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
a185c068d1
commit
e1764e1bc8
@ -1,7 +1,9 @@
|
||||
#
|
||||
# tesseract
|
||||
#
|
||||
cmake_policy(SET CMP0074 NEW)
|
||||
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.12.0")
|
||||
cmake_policy(SET CMP0074 NEW)
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT ANDROID)
|
||||
set(LIB_pthread pthread)
|
||||
|
Loading…
Reference in New Issue
Block a user