diff options
| -rw-r--r-- | src/kernel/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kernel/CMakeLists.txt b/src/kernel/CMakeLists.txt index 53f540e06..9c286a7d7 100644 --- a/src/kernel/CMakeLists.txt +++ b/src/kernel/CMakeLists.txt @@ -48,7 +48,6 @@ set( _SRC_ qtaddons_x11.cpp qpaintdevice_x11.cpp qpainter_x11.cpp qregion_x11.cpp - qsound_x11.cpp qwidget_x11.cpp qwidgetcreate_x11.cpp qfontengine_x11.cpp @@ -109,7 +108,6 @@ set( _SRC_ qtaddons_x11.cpp qsizegrip.cpp qstyle.cpp qsocketnotifier.cpp - qsound.cpp qstylesheet.cpp qthread.cpp qtimer.cpp @@ -133,6 +131,11 @@ set( _SRC_ qtaddons_x11.cpp qpngio.cpp qaccessible.cpp ) + +if( WITH_SOUND ) + list( APPEND _SRC_ qsound.cpp qsound_x11.cpp ) +endif() + if( WITH_GLIBMAINLOOP ) list( APPEND _SRC_ qeventloop_x11_glib.cpp qeventloop_unix_glib.cpp ) else() |
