From: 이한종/동작제어Lab(SR)/Engineer/삼성전자 Date: Tue, 24 Apr 2018 08:07:38 +0000 (+0900) Subject: Update pthread to `${LIB_PTHREAD}` (#868) X-Git-Tag: 0.1~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f8fa0a0b7f2c7110cf45928ee2cd188c04d1da0;p=platform%2Fcore%2Fml%2Fnnfw.git Update pthread to `${LIB_PTHREAD}` (#868) Signed-off-by: Hanjoung Lee --- diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 9734775..330e377 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -46,7 +46,7 @@ list(APPEND TFLITE_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/flatbuffers/include") add_library(tensorflow-lite ${TFLITE_SRCS}) target_include_directories(tensorflow-lite PUBLIC ${TFLITE_INCLUDES}) target_compile_definitions(tensorflow-lite PUBLIC "GEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK") -target_link_libraries(tensorflow-lite eigen3 pthread dl) +target_link_libraries(tensorflow-lite eigen3 ${LIB_PTHREAD} dl) install(TARGETS tensorflow-lite ARCHIVE DESTINATION lib)