mirror of https://github.com/oxen-io/oxen-mq.git
Use modern cmake thread initialization
This commit is contained in:
parent
465b398b10
commit
501534b5f4
|
@ -16,7 +16,7 @@ find_package(Threads)
|
|||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(SODIUM REQUIRED libsodium)
|
||||
|
||||
target_link_libraries(tests Catch2::Catch2 lokimq ${SODIUM_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries(tests Catch2::Catch2 lokimq ${SODIUM_LIBRARIES} Threads::Threads)
|
||||
|
||||
set_property(TARGET tests PROPERTY CXX_STANDARD 14)
|
||||
set_property(TARGET tests PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||
|
|
Loading…
Reference in New Issue