Skip to content

Commit

Permalink
#550: Fix compiling tests issue by providing -pthread link flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simin Ghadiri committed Apr 23, 2024
1 parent 935bced commit 56f6eaf
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 56f6eaf

Please sign in to comment.