зеркало из https://github.com/nextcloud/desktop.git
Use imported target for Threads
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
This commit is contained in:
Родитель
71658b0974
Коммит
70033cda1f
|
@ -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()
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче