Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | #add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | 48 | #add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | ||
49 | 49 | | |||
50 | 50 | | |||
51 | find_package(Sensors) | 51 | find_package(Sensors) | ||
52 | set_package_properties(Sensors PROPERTIES | 52 | set_package_properties(Sensors PROPERTIES | ||
53 | TYPE OPTIONAL | 53 | TYPE OPTIONAL | ||
54 | PURPOSE "Allows to show sensor information") | 54 | PURPOSE "Allows to show sensor information") | ||
55 | 55 | | |||
56 | find_package(libpcap) | ||||
57 | set_package_properties( | ||||
58 | libpcap PROPERTIES | ||||
59 | TYPE RECOMMENDED | ||||
60 | PURPOSE "libpcap is used for per-application network usage." | ||||
61 | ) | ||||
62 | | ||||
63 | if (libpcap_FOUND) | ||||
64 | find_package(Libcap) | ||||
65 | set_package_properties(Libcap PROPERTIES | ||||
66 | TYPE OPTIONAL | ||||
67 | PURPOSE "Needed for setting capabilities of the per-application network plugin." | ||||
68 | ) | ||||
69 | endif() | ||||
70 | | ||||
56 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 71 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
57 | configure_file(config-workspace.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-workspace.h) | 72 | configure_file(config-workspace.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-workspace.h) | ||
58 | 73 | | |||
59 | add_subdirectory( gui ) | 74 | add_subdirectory( gui ) | ||
60 | 75 | | |||
61 | add_subdirectory( doc ) | 76 | add_subdirectory( doc ) | ||
62 | add_subdirectory( pics ) | 77 | add_subdirectory( pics ) | ||
63 | add_subdirectory( example ) | 78 | add_subdirectory( example ) | ||
64 | 79 | | |||
65 | add_subdirectory( ksysguardd ) | 80 | add_subdirectory( ksysguardd ) | ||
66 | 81 | | |||
82 | add_subdirectory( plugins ) | ||||
83 | | ||||
67 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | 84 | feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) | ||
68 | 85 | |