diff --git a/CMakeLists.txt b/CMakeLists.txt index edd14a1dc..61298f9de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/cmake/modules/FindINotify.cmake b/cmake/modules/FindInotify.cmake similarity index 100% rename from cmake/modules/FindINotify.cmake rename to cmake/modules/FindInotify.cmake diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 6841fd040..468b0b750 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -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()