Ticket #44236: patch-KControl-CmakeLists.patch

File patch-KControl-CmakeLists.patch, 1.4 KB (added by RJVB (René Bertin), 10 years ago)
  • CMakeLists.txt

    old new  
    1818    add_subdirectory( keyboard )
    1919endif(X11_Xkb_FOUND)
    2020
    21 if(NOT WIN32)
     21if(NOT WIN32 AND NOT APPLE)
    2222add_subdirectory( bell )
    2323add_subdirectory( input )
    2424add_subdirectory( access )
    2525add_subdirectory( screensaver )
    2626add_subdirectory( dateandtime )
    2727add_subdirectory( autostart )
    28 endif(NOT WIN32)
     28endif(NOT WIN32 AND NOT APPLE)
    2929
    3030add_subdirectory( launch )
    3131add_subdirectory( colors )
     
    4343add_subdirectory( desktoppaths )
    4444
    4545if( FREETYPE_FOUND )
    46     if( WIN32 OR FONTCONFIG_FOUND )
     46    if( WIN32 OR APPLE OR FONTCONFIG_FOUND )
    4747        add_subdirectory( fonts )
    48     endif( WIN32 OR FONTCONFIG_FOUND )
     48    endif( WIN32 OR APPLE OR FONTCONFIG_FOUND )
    4949endif( FREETYPE_FOUND )
    5050if(FONTCONFIG_FOUND AND FREETYPE_FOUND AND NOT WIN32)
    5151    add_subdirectory( kfontinst )
  • kcontrol/style/

    old new  
    1818
    1919target_link_libraries(kcm_style ${KDE4_KIO_LIBS} ${X11_LIBRARIES}
    2020    ${KDE4_PLASMA_LIBS} ${KDE4_KNEWSTUFF3_LIBS})
    21 if(NOT WIN32)
     21if(NOT WIN32 AND NOT APPLE)
    2222    target_link_libraries(kcm_style kdecorations)
    23 endif(NOT WIN32)
     23endif(NOT WIN32 AND NOT APPLE)
    2424
    2525install(TARGETS kcm_style  DESTINATION ${PLUGIN_INSTALL_DIR})
    2626