Try to fix pthreads ld error

This commit is contained in:
Oleg Kalachev
2021-04-08 13:34:21 +03:00
parent 67b7e903fd
commit bd0037f3c9
2 changed files with 3 additions and 4 deletions

View File

@@ -44,10 +44,6 @@ find_package(OpenCV ${_opencv_version} REQUIRED
imgproc
)
# Fix https://travis-ci.org/github/CopterExpress/clover/jobs/766318908#L6536
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)