Merge pull request #551 from Erfankam/fix_compiling_issue_in_tests

#550: Fix compiling tests issue by providing -pthread link flag.
This commit is contained in:
Christian Hohnstädt 2024-05-30 15:04:17 +02:00 committed by GitHub
commit 218bf9ec2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ add_test(NAME testxca COMMAND testxca)
set_tests_properties(testxca PROPERTIES LABELS gui)
add_dependencies(tests testxca)
target_link_libraries(testxca ${ASAN_LIB} ${QT}::Test xcalib)
target_link_options(testxca PRIVATE -pthread)
if (APPLE)
target_link_libraries(testxca