[CMake] Extract pthread as a variable (#760)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 18 Apr 2018 00:09:15 +0000 (09:09 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Wed, 18 Apr 2018 00:09:15 +0000 (09:09 +0900)
commit187d2055cf741e0da6d4ae93a8125145d61368a8
treea979235416b4b8fae70e3931e44e1f71fae2df64
parentacbb225b1e6c963ecdba553f2d19be001269ccca
[CMake] Extract pthread as a variable (#760)

Instead of just writing `pthread`, use `${LIB_PTHREAD}`.
This is for the future, so Android config will override it to an empty value.
Since BIONIC libc library contains pthread library so it will emit an error if
`-lpthread` is passed to linker.
CMakeLists.txt
src/runtime/ref/nn/runtime/CMakeLists.txt
src/runtime/test/CMakeLists.txt
src/support/tflite/CMakeLists.txt
tools/tflite_benchmark/CMakeLists.txt
tools/tflite_examples/CMakeLists.txt
tools/tflite_run/CMakeLists.txt