diff --git kcontrol/CMakeLists.txt kcontrol/CMakeLists.txt
index fc666b1..a7686d5 100644
|
|
if(X11_Xkb_FOUND) |
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 ) |
… |
… |
add_subdirectory( hardware ) |
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 ) |
diff --git kcontrol/krdb/krdb.cpp kcontrol/krdb/krdb.cpp
index 36fc99c..b49993e 100644
|
|
void runRdb( uint flags ) |
518 | 518 | |
519 | 519 | if( cfgfonts.readEntry( "forceFontDPI", 0 ) != 0 ) |
520 | 520 | contents += "Xft.dpi: " + cfgfonts.readEntry( "forceFontDPI" ) + '\n'; |
| 521 | #ifdef Q_WS_X11 |
521 | 522 | else |
522 | 523 | { |
523 | 524 | KProcess proc; |
… |
… |
void runRdb( uint flags ) |
530 | 531 | proc.waitForFinished(); |
531 | 532 | } |
532 | 533 | } |
| 534 | #endif // Q_WS_X11 |
533 | 535 | } |
534 | 536 | |
535 | 537 | if (contents.length() > 0) |
… |
… |
void runRdb( uint flags ) |
537 | 539 | |
538 | 540 | tmpFile.flush(); |
539 | 541 | |
| 542 | #ifdef Q_WS_X11 |
540 | 543 | KProcess proc; |
541 | 544 | #ifndef NDEBUG |
542 | 545 | proc << "xrdb" << "-merge" << tmpFile.fileName(); |
… |
… |
void runRdb( uint flags ) |
544 | 547 | proc << "xrdb" << "-quiet" << "-merge" << tmpFile.fileName(); |
545 | 548 | #endif |
546 | 549 | proc.execute(); |
| 550 | #endif // Q_WS_X11 |
547 | 551 | |
548 | 552 | applyGtkStyles(exportColors, 1); |
549 | 553 | applyGtkStyles(exportColors, 2); |
diff --git kcontrol/style/CMakeLists.txt kcontrol/style/CMakeLists.txt
index d832b20..7c84cf9 100644
|
|
kde4_add_plugin(kcm_style ${kcm_style_PART_SRCS}) |
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 | |