From 8d6e543cc23a0d73e4645f40e7f3248f9063f7ce Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Tue, 28 Apr 2020 09:41:11 +0200 Subject: [PATCH] Only use readwav for OpenAL --- simgear/sound/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/simgear/sound/CMakeLists.txt b/simgear/sound/CMakeLists.txt index 9fe490c5..6695d7b7 100644 --- a/simgear/sound/CMakeLists.txt +++ b/simgear/sound/CMakeLists.txt @@ -6,7 +6,6 @@ set(HEADERS xmlsound.hxx soundmgr.hxx filters.hxx - readwav.hxx ) set(SOURCES @@ -14,7 +13,6 @@ set(SOURCES sample_group.cxx xmlsound.cxx filters.cxx - readwav.cxx ) if (USE_AEONWAVE) @@ -22,8 +20,12 @@ if (USE_AEONWAVE) soundmgr_aeonwave.cxx ) else() + set(HEADERS ${HEADERS} + readwav.hxx + ) set(SOURCES ${SOURCES} soundmgr_openal.cxx + readwav.cxx ) endif()