mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
Use imported target for Threads
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
This commit is contained in:
parent
71658b0974
commit
70033cda1f
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ if(WITH_CRASHREPORTER)
|
|||
|
||||
if(UNIX AND NOT MAC)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(nextcloudCore PUBLIC ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries(nextcloudCore PUBLIC Threads::Threads)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue