This repository was archived by the owner on Oct 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ add_executable(parser_tests
350350 unittests/Parser/ParserTests.cpp
351351)
352352
353+ find_package (Threads)
353354set (LLVM_LDFLAGS "${LLVM_LDFLAGS} ${ALIVE_LDFLAGS} " )
354355foreach (target souper internal -solver-test lexer-test parser-test souper-check count-insts
355356 souperExtractor souperInfer souperInst souperKVStore souperParser
@@ -388,9 +389,9 @@ target_link_libraries(parser-test souperParser)
388389target_link_libraries (souper-check souperTool souperExtractor souperKVStore souperSMTLIB2 souperParser ${HIREDIS_LIBRARY} ${ALIVE_LIBRARY} z3)
389390target_link_libraries (clang-souper souperClangTool souperExtractor souperKVStore souperParser souperSMTLIB2 souperTool kleeExpr ${CLANG_LIBS} ${LLVM_LIBS} ${LLVM_LDFLAGS} ${HIREDIS_LIBRARY} ${ALIVE_LIBRARY} z3)
390391target_link_libraries (count-insts souperParser)
391- target_link_libraries (extractor_tests souperExtractor ${GTEST_LIBS} ${ALIVE_LIBRARY} )
392- target_link_libraries (inst_tests souperInfer souperInst ${GTEST_LIBS} ${ALIVE_LIBRARY} )
393- target_link_libraries (parser_tests souperParser ${GTEST_LIBS} ${ALIVE_LIBRARY} )
392+ target_link_libraries (extractor_tests souperExtractor ${GTEST_LIBS} ${ALIVE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} )
393+ target_link_libraries (inst_tests souperInfer souperInst ${GTEST_LIBS} ${ALIVE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} )
394+ target_link_libraries (parser_tests souperParser ${GTEST_LIBS} ${ALIVE_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} )
394395
395396SET (BUILD_CLANG_TOOL 1 CACHE BOOL "Build the Souper Clang tool" )
396397if (NOT BUILD_CLANG_TOOL)
You can’t perform that action at this time.
0 commit comments