From b00e23f5b52ab13f3ee2fcd674a67b3f6d2ef90e Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Mon, 8 Apr 2024 04:00:57 +0000 Subject: [PATCH] build: enable FAudio on non-Windows Enable FAudio on non-Windows too if the cmake support is found. Signed-off-by: Rafael Kitover --- cmake/Options.cmake | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cmake/Options.cmake b/cmake/Options.cmake index 2b84d6b3..abd9e5e5 100644 --- a/cmake/Options.cmake +++ b/cmake/Options.cmake @@ -142,12 +142,10 @@ endif() set(ENABLE_FAUDIO_DEFAULT OFF) -if(WIN32) - find_package(FAudio) +find_package(FAudio) - if(FAudio_FOUND) - set(ENABLE_FAUDIO_DEFAULT ON) - endif() +if(FAudio_FOUND) + set(ENABLE_FAUDIO_DEFAULT ON) endif() option(ENABLE_FAUDIO "Enable FAudio sound output for the wxWidgets port" ${ENABLE_FAUDIO_DEFAULT})