Ticket #44236: patch-CmakeLists-for-OSX.patch
File patch-CmakeLists-for-OSX.patch, 3.2 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
CMakeLists.txt
old new 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") … … 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 ) 227 228 find_package(JPEG REQUIRED) 229 find_package(PNG REQUIRED) 230 macro_optional_add_subdirectory( ksplash ) 224 if(NOT APPLE) 225 macro_optional_add_subdirectory( kcheckpass ) 226 macro_optional_add_subdirectory( kwin ) 227 macro_optional_add_subdirectory( ksmserver ) 228 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 ) … … 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) … … 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) … … 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) 276 280 277 macro_optional_add_subdirectory(plasma) 281 if(NOT APPLE) 282 macro_optional_add_subdirectory(plasma) 283 endif(NOT APPLE) 278 284 macro_optional_add_subdirectory(statusnotifierwatcher) 279 285 macro_optional_add_subdirectory(kstyles) 280 286 281 287 ########### install files ############### 282 if(NOT WIN32 )288 if(NOT WIN32 AND NOT APPLE) 283 289 install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/startkde DESTINATION ${BIN_INSTALL_DIR}) 284 290 endif(NOT WIN32) 285 291