Only use readwav for OpenAL

This commit is contained in:
Erik Hofman 2020-04-28 09:41:11 +02:00
parent bd93fb279b
commit 8d6e543cc2

View File

@ -6,7 +6,6 @@ set(HEADERS
xmlsound.hxx xmlsound.hxx
soundmgr.hxx soundmgr.hxx
filters.hxx filters.hxx
readwav.hxx
) )
set(SOURCES set(SOURCES
@ -14,7 +13,6 @@ set(SOURCES
sample_group.cxx sample_group.cxx
xmlsound.cxx xmlsound.cxx
filters.cxx filters.cxx
readwav.cxx
) )
if (USE_AEONWAVE) if (USE_AEONWAVE)
@ -22,8 +20,12 @@ if (USE_AEONWAVE)
soundmgr_aeonwave.cxx soundmgr_aeonwave.cxx
) )
else() else()
set(HEADERS ${HEADERS}
readwav.hxx
)
set(SOURCES ${SOURCES} set(SOURCES ${SOURCES}
soundmgr_openal.cxx soundmgr_openal.cxx
readwav.cxx
) )
endif() endif()