diff --git CMakeLists.txt CMakeLists.txt
index 3d4287c..273dcdd 100644
|
|
set_package_properties(QJSON PROPERTIES DESCRIPTION "Library to manage JSON obje |
194 | 194 | |
195 | 195 | |
196 | 196 | include(ConfigureChecks.cmake) |
197 | | if(NOT WIN32) |
| 197 | if(NOT WIN32 AND NOT APPLE) |
198 | 198 | configure_file(config-unix.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-unix.h ) |
199 | 199 | configure_file(config-X11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-X11.h ) |
200 | 200 | if(NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr") |
… |
… |
endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
221 | 221 | |
222 | 222 | # core apps |
223 | 223 | if(NOT WIN32) |
224 | | macro_optional_add_subdirectory( kcheckpass ) |
225 | | macro_optional_add_subdirectory( kwin ) |
226 | | macro_optional_add_subdirectory( ksmserver ) |
| 224 | if(NOT APPLE) |
| 225 | macro_optional_add_subdirectory( kcheckpass ) |
| 226 | macro_optional_add_subdirectory( kwin ) |
| 227 | macro_optional_add_subdirectory( ksmserver ) |
227 | 228 | |
228 | | find_package(JPEG REQUIRED) |
229 | | find_package(PNG REQUIRED) |
230 | | macro_optional_add_subdirectory( ksplash ) |
| 229 | find_package(JPEG REQUIRED) |
| 230 | find_package(PNG REQUIRED) |
| 231 | macro_optional_add_subdirectory( ksplash ) |
231 | 232 | |
232 | | macro_optional_add_subdirectory( powerdevil ) |
| 233 | macro_optional_add_subdirectory( powerdevil ) |
| 234 | endif(NOT APPLE) |
233 | 235 | macro_optional_add_subdirectory( qguiplatformplugin_kde ) |
234 | 236 | if (NOT CMAKE_SYSTEM_NAME MATCHES Darwin) |
235 | 237 | macro_optional_add_subdirectory( ksysguard ) |
… |
… |
endif(NOT WIN32) |
238 | 240 | |
239 | 241 | if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
240 | 242 | macro_optional_add_subdirectory(kcontrol) |
241 | | macro_optional_add_subdirectory(klipper) |
242 | | macro_optional_add_subdirectory(kmenuedit) |
243 | | macro_optional_add_subdirectory(krunner) |
244 | | macro_optional_add_subdirectory(solid-actions-kcm) |
245 | | macro_optional_add_subdirectory(kstartupconfig) |
246 | | macro_optional_add_subdirectory(freespacenotifier) |
247 | | macro_optional_add_subdirectory(kscreensaver) |
248 | | macro_optional_add_subdirectory(kinfocenter) |
| 243 | if(NOT APPLE) |
| 244 | macro_optional_add_subdirectory(klipper) |
| 245 | macro_optional_add_subdirectory(kmenuedit) |
| 246 | macro_optional_add_subdirectory(krunner) |
| 247 | macro_optional_add_subdirectory(solid-actions-kcm) |
| 248 | macro_optional_add_subdirectory(kstartupconfig) |
| 249 | macro_optional_add_subdirectory(freespacenotifier) |
| 250 | macro_optional_add_subdirectory(kscreensaver) |
| 251 | macro_optional_add_subdirectory(kinfocenter) |
| 252 | endif(NOT APPLE) |
249 | 253 | |
250 | 254 | # data |
251 | 255 | macro_optional_add_subdirectory(doc) |
… |
… |
if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
254 | 258 | macro_optional_add_subdirectory(ktouchpadenabler) |
255 | 259 | endif (Q_WS_X11) |
256 | 260 | |
257 | | if(NOT WIN32) |
| 261 | if(NOT WIN32 AND NOT APPLE) |
258 | 262 | macro_optional_add_subdirectory(kcminit) |
259 | 263 | macro_optional_add_subdirectory(khotkeys) |
260 | 264 | macro_optional_add_subdirectory(kwrited) |
… |
… |
if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
269 | 273 | endif(X11_Xau_FOUND AND X11_Xdmcp_FOUND) |
270 | 274 | endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
271 | 275 | |
272 | | if(NOT WIN32) |
| 276 | if(NOT WIN32 AND NOT APPLE) |
273 | 277 | # data |
274 | 278 | macro_optional_add_subdirectory(cursors) |
275 | 279 | endif(NOT WIN32) |
… |
… |
macro_optional_add_subdirectory(statusnotifierwatcher) |
279 | 283 | macro_optional_add_subdirectory(kstyles) |
280 | 284 | |
281 | 285 | ########### install files ############### |
282 | | if(NOT WIN32) |
| 286 | if(NOT WIN32 AND NOT APPLE) |
283 | 287 | install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/startkde DESTINATION ${BIN_INSTALL_DIR}) |
284 | 288 | endif(NOT WIN32) |
285 | 289 | |