Skip to content

Commit 48979b0

Browse files
authored
Merge pull request #196 from njzjz/devel
find pthreads when compiling
2 parents 38448be + 276a489 commit 48979b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-ignored-attributes")
4949
# find tensorflow, I need tf abi info
5050
find_package(tensorflow REQUIRED)
5151

52+
# find threads
53+
find_package(Threads)
54+
5255
# auto op_cxx_abi
5356
if (NOT DEFINED OP_CXX_ABI)
5457
if (BUILD_PY_IF)

0 commit comments

Comments
 (0)