commit | 2667eda785009e075a12e4d291bff7e6fd08f54d | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Wed Nov 29 15:53:00 2023 +0000 |
committer | Paul Elliott <paul.elliott@arm.com> | Mon Dec 18 14:49:34 2023 +0000 |
tree | 116b36d45b43cd0b5a4b5caa7fe06bdc1b21fe6b | |
parent | 8860021abcc77872d6e016d3a27b014b4fe775d3 [diff] [blame] |
Explicitly link tests with pthreads Required to use pthreads within tests. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 0869aaa..68bc57f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt
@@ -1,5 +1,8 @@ +find_package(Threads) + set(libs ${mbedtls_target} + ${CMAKE_THREAD_LIBS_INIT} ) # Set the project root directory if it's not already defined, as may happen if