UI: Update CMakeLists.txt for main OBS app

This commit is contained in:
PatTheMav 2022-03-16 23:11:58 +01:00
commit 1f0f2be15e
No known key found for this signature in database
GPG key ID: CEFD5D83C12A66B3
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