Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Line(s) | 96 | if(NOT XCB_UTIL_FOUND) | |||
---|---|---|---|---|---|
97 | set(XCB_COMPONENTS_ERRORS "${XCB_COMPONENTS_ERRORS} XCB-UTIL ") | 97 | set(XCB_COMPONENTS_ERRORS "${XCB_COMPONENTS_ERRORS} XCB-UTIL ") | ||
98 | set(XCB_COMPONENTS_FOUND FALSE) | 98 | set(XCB_COMPONENTS_FOUND FALSE) | ||
99 | endif() | 99 | endif() | ||
100 | if(NOT XCB_CURSOR_FOUND) | 100 | if(NOT XCB_CURSOR_FOUND) | ||
101 | set(XCB_COMPONENTS_ERRORS "${XCB_COMPONENTS_ERRORS} XCB-CURSOR ") | 101 | set(XCB_COMPONENTS_ERRORS "${XCB_COMPONENTS_ERRORS} XCB-CURSOR ") | ||
102 | set(XCB_COMPONENTS_FOUND FALSE) | 102 | set(XCB_COMPONENTS_FOUND FALSE) | ||
103 | endif() | 103 | endif() | ||
104 | 104 | | |||
105 | find_package(kImageAnnotator) | ||||
106 | | ||||
107 | if(kImageAnnotator_FOUND) | ||||
108 | set(KIMAGEANNOTATOR_FOUND 1) | ||||
109 | endif() | ||||
110 | | ||||
105 | # fail build if none of the platform backends can be found | 111 | # fail build if none of the platform backends can be found | ||
106 | if (NOT XCB_FOUND OR NOT XCB_COMPONENTS_FOUND) | 112 | if (NOT XCB_FOUND OR NOT XCB_COMPONENTS_FOUND) | ||
107 | message(FATAL_ERROR "No suitable backend platform was found. Currently supported platforms are: XCB Components Required: ${XCB_COMPONENTS_ERRORS}") | 113 | message(FATAL_ERROR "No suitable backend platform was found. Currently supported platforms are: XCB Components Required: ${XCB_COMPONENTS_ERRORS}") | ||
108 | endif() | 114 | endif() | ||
109 | 115 | | |||
110 | # hand off to subdirectories | 116 | # hand off to subdirectories | ||
111 | 117 | | |||
112 | add_subdirectory(src) | 118 | add_subdirectory(src) | ||
Show All 14 Lines |