refactor(simu): use C++ native threads (#6449)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Malte Langermann <malte@langermann.net>
This commit is contained in:
Raphael Coeffic
2025-07-20 13:57:52 +02:00
committed by GitHub
co-authored by raphaelcoeffic Malte Langermann
parent 4eddda034d
commit 7d91cdd428
18 changed files with 47 additions and 230 deletions
+1 -3
View File
@@ -74,7 +74,6 @@ if(WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mno-ms-bitfields")
endif()
else()
set(PTHREAD_LIBRARY pthread)
link_directories(/usr/local/lib)
endif()
@@ -192,7 +191,6 @@ target_link_libraries(common
Qt5::Xml
Qt5::Widgets
Qt5::SerialPort
${PTHREAD_LIBRARY}
${SDL2_LIBRARIES}
${WIN_LINK_LIBRARIES}
)
@@ -656,4 +654,4 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(CPACK_EXTERNAL_PACKAGE_SCRIPT "${CMAKE_BINARY_DIR}/CPackExternal.cmake")
endif()
include(CPack)
include(CPack)