Skip to content

Commit

Permalink
Merge pull request #551 from Erfankam/fix_compiling_issue_in_tests
Browse files Browse the repository at this point in the history
#550: Fix compiling tests issue by providing -pthread link flag.
  • Loading branch information
chris2511 authored May 30, 2024
2 parents 935bced + 56f6eaf commit 218bf9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 218bf9e

Please sign in to comment.