UI: Update CMakeLists.txt for main OBS app

This commit is contained in:
PatTheMav
2022-03-16 23:11:58 +01:00
parent 1fd7770548
commit 1f0f2be15e
21 changed files with 853 additions and 1020 deletions

View File

@@ -640,7 +640,7 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
delete ui->browserHWAccel;
delete ui->sourcesGroup;
#endif
#if defined(__APPLE__) || HAVE_PULSEAUDIO
#if defined(__APPLE__) || defined(PULSEAUDIO_FOUND)
delete ui->disableAudioDucking;
#endif
ui->rendererLabel = nullptr;
@@ -656,7 +656,7 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
ui->browserHWAccel = nullptr;
ui->sourcesGroup = nullptr;
#endif
#if defined(__APPLE__) || HAVE_PULSEAUDIO
#if defined(__APPLE__) || defined(PULSEAUDIO_FOUND)
ui->disableAudioDucking = nullptr;
#endif
#endif