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 18 18 add_subdirectory( keyboard ) 19 19 endif(X11_Xkb_FOUND) 20 20 21 if(NOT WIN32 )21 if(NOT WIN32 AND NOT APPLE) 22 22 add_subdirectory( bell ) 23 23 add_subdirectory( input ) 24 24 add_subdirectory( access ) 25 25 add_subdirectory( screensaver ) 26 26 add_subdirectory( dateandtime ) 27 27 add_subdirectory( autostart ) 28 endif(NOT WIN32 )28 endif(NOT WIN32 AND NOT APPLE) 29 29 30 30 add_subdirectory( launch ) 31 31 add_subdirectory( colors ) … … 43 43 add_subdirectory( desktoppaths ) 44 44 45 45 if( FREETYPE_FOUND ) 46 if( WIN32 OR FONTCONFIG_FOUND )46 if( WIN32 OR APPLE OR FONTCONFIG_FOUND ) 47 47 add_subdirectory( fonts ) 48 endif( WIN32 OR FONTCONFIG_FOUND )48 endif( WIN32 OR APPLE OR FONTCONFIG_FOUND ) 49 49 endif( FREETYPE_FOUND ) 50 50 if(FONTCONFIG_FOUND AND FREETYPE_FOUND AND NOT WIN32) 51 51 add_subdirectory( kfontinst ) -
kcontrol/style/
old new 18 18 19 19 target_link_libraries(kcm_style ${KDE4_KIO_LIBS} ${X11_LIBRARIES} 20 20 ${KDE4_PLASMA_LIBS} ${KDE4_KNEWSTUFF3_LIBS}) 21 if(NOT WIN32 )21 if(NOT WIN32 AND NOT APPLE) 22 22 target_link_libraries(kcm_style kdecorations) 23 endif(NOT WIN32 )23 endif(NOT WIN32 AND NOT APPLE) 24 24 25 25 install(TARGETS kcm_style DESTINATION ${PLUGIN_INSTALL_DIR}) 26 26