We cannot use find_package(Threads) since some of our build
system use old version cmake. pthread is linked directly now.
So I removed find_package(Threads) and related statements.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
#####################################################################
include_directories(${LIB_RUNTIME} PRIVATE include ${INC_DIRS})
-# TODO : please explain the reasoning begind this line.
-set(THREADS_PTHREAD_ARG "2" CACHE STRING "Forcibly set by CMakeLists.txt." FORCE)
-set(THREADS_PREFER_PTHREAD_FLAG ON)
-find_package(Threads REQUIRED)
-
# Executable `runtime_run` (Dummy runner executable using NN API)
SET (TEST_SRCS sample/add_main.cpp)
add_executable(runtime_run_add ${TEST_SRCS})