aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt
index 3009ac9a67..5716054eb1 100644
--- a/samples/CMakeLists.txt
+++ b/samples/CMakeLists.txt
@@ -1,4 +1,4 @@
if(BUILD_SAMPLE_APP)
add_executable(SimpleSample SimpleSample.cpp)
- target_link_libraries(SimpleSample armnn pthread)
+ target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT})
endif()