build: enable FAudio on non-Windows
Enable FAudio on non-Windows too if the cmake support is found. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
8ef9a66b74
commit
b00e23f5b5
|
@ -142,12 +142,10 @@ endif()
|
|||
|
||||
set(ENABLE_FAUDIO_DEFAULT OFF)
|
||||
|
||||
if(WIN32)
|
||||
find_package(FAudio)
|
||||
find_package(FAudio)
|
||||
|
||||
if(FAudio_FOUND)
|
||||
if(FAudio_FOUND)
|
||||
set(ENABLE_FAUDIO_DEFAULT ON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
option(ENABLE_FAUDIO "Enable FAudio sound output for the wxWidgets port" ${ENABLE_FAUDIO_DEFAULT})
|
||||
|
|
Loading…
Reference in New Issue