From 414f6493b0d67db3feb03c2adf862b2b0b462a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Risto=20Peja=C5=A1inovi=C4=87?= Date: Tue, 10 Dec 2024 23:06:39 +0100 Subject: [PATCH] Verilator executable link to -pthread --- cmake/sim/verilator/verilator/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/sim/verilator/verilator/CMakeLists.txt b/cmake/sim/verilator/verilator/CMakeLists.txt index 650413c..2b06421 100644 --- a/cmake/sim/verilator/verilator/CMakeLists.txt +++ b/cmake/sim/verilator/verilator/CMakeLists.txt @@ -33,6 +33,7 @@ if("--main" IN_LIST VERILATE_VERILATOR_ARGS) ) target_link_libraries(${EXECUTABLE_NAME} PRIVATE ${TARGET} + -pthread ) endif()