Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | 115 | if(UNIX) | |||
---|---|---|---|---|---|
129 | if(NOT OFFT_IS_64BIT) | 129 | if(NOT OFFT_IS_64BIT) | ||
130 | message(FATAL_ERROR "Large file support is not enabled.") | 130 | message(FATAL_ERROR "Large file support is not enabled.") | ||
131 | endif() | 131 | endif() | ||
132 | 132 | | |||
133 | find_package(Gperf) | 133 | find_package(Gperf) | ||
134 | set_package_properties(Gperf PROPERTIES TYPE OPTIONAL | 134 | set_package_properties(Gperf PROPERTIES TYPE OPTIONAL | ||
135 | PURPOSE "Needed to build the man kioslave" | 135 | PURPOSE "Needed to build the man kioslave" | ||
136 | ) | 136 | ) | ||
137 | | ||||
138 | find_package(KF5KHtml QUIET) | | |||
139 | set_package_properties(KF5KHtml PROPERTIES TYPE OPTIONAL | | |||
140 | PURPOSE "Needed to build the man kioslave" | | |||
141 | ) | | |||
142 | else() | 137 | else() | ||
143 | # FIXME: on windows we ignore support until trash gets integrated | 138 | # FIXME: on windows we ignore support until trash gets integrated | ||
144 | endif() | 139 | endif() | ||
145 | 140 | | |||
146 | add_subdirectory( doc ) | 141 | add_subdirectory( doc ) | ||
147 | 142 | | |||
148 | add_subdirectory( about ) | 143 | add_subdirectory( about ) | ||
149 | if(KF5Activities_FOUND) | 144 | if(KF5Activities_FOUND) | ||
Show All 25 Lines | |||||
175 | endif () | 170 | endif () | ||
176 | add_subdirectory(settings) | 171 | add_subdirectory(settings) | ||
177 | add_subdirectory( filenamesearch ) | 172 | add_subdirectory( filenamesearch ) | ||
178 | if (MTP_FOUND) | 173 | if (MTP_FOUND) | ||
179 | add_subdirectory(mtp) | 174 | add_subdirectory(mtp) | ||
180 | endif() | 175 | endif() | ||
181 | 176 | | |||
182 | if(NOT WIN32) | 177 | if(NOT WIN32) | ||
183 | if(Gperf_FOUND AND KF5KHtml_FOUND) | 178 | if(Gperf_FOUND) | ||
184 | add_subdirectory( man ) | 179 | add_subdirectory( man ) | ||
185 | endif() | 180 | endif() | ||
186 | check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) | 181 | check_include_files(rpc/rpc.h HAVE_RPC_RPC_H) | ||
187 | add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") | 182 | add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave") | ||
188 | if(HAVE_RPC_RPC_H) | 183 | if(HAVE_RPC_RPC_H) | ||
189 | add_subdirectory( nfs ) | 184 | add_subdirectory( nfs ) | ||
190 | endif() | 185 | endif() | ||
191 | endif() | 186 | endif() | ||
Show All 21 Lines |