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:
co-authored by
raphaelcoeffic
Malte Langermann
parent
4eddda034d
commit
7d91cdd428
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user