Merge branch 'master' into patch-1

This commit is contained in:
rakekniven 2021-04-14 17:11:27 +02:00 committed by GitHub
commit 03e7d8da28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,8 @@ set(CMAKE_CXX_STANDARD 14)
project(client)
include(FeatureSummary)
if(UNIT_TESTING)
include(CTest)
enable_testing()
@ -188,7 +190,7 @@ if(BUILD_CLIENT)
endif()
if(UNIX AND NOT APPLE)
find_package(INotify REQUIRED)
find_package(Inotify REQUIRED)
endif()
find_package(Sphinx)
find_package(PdfLatex)
@ -274,3 +276,5 @@ elseif(BUILD_CLIENT)
install( FILES sync-exclude.lst DESTINATION ${SYSCONFDIR}/${APPLICATION_SHORTNAME} )
configure_file(sync-exclude.lst bin/sync-exclude.lst COPYONLY)
endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES INCLUDE_QUIET_PACKAGES)

View file

@ -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()