Link pthread in test module
authorYonggoo Kang <ygace.kang@samsung.com>
Fri, 12 Jan 2024 02:57:05 +0000 (11:57 +0900)
committer이동선/Security&Privacy팀(SR)/삼성전자 <ds73.lee@samsung.com>
Fri, 12 Jan 2024 05:59:36 +0000 (14:59 +0900)
tests/CMakeLists.txt

index 0a104e0177f88cf68a2cd1ac2fcc1d9a53658723..f8bab2d8e5241b1129e3eee9997d7a3dd7cfc68f 100644 (file)
@@ -39,6 +39,7 @@ TARGET_LINK_LIBRARIES(${TARGET_WEBAUTHN_UNIT_TESTS}
     ${TARGET_WEBAUTHN_COMMON}
     ${TARGET_WEBAUTHN_CLIENT}
     -ldl
+    "-pthread"
     )
 
 INSTALL(TARGETS ${TARGET_WEBAUTHN_UNIT_TESTS} DESTINATION ${BIN_DIR})