1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 13:25:27 +01:00

Use CMake list directives where appropriate

I think this communicates the intent a little better than using a `set`
directive, and it makes the code a little less verbose, too.
This commit is contained in:
JosiahWI
2024-12-03 09:52:15 -06:00
committed by GitHub
parent 818bca68d1
commit 03813a5b5e
2 changed files with 18 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
set(sound_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/sound.cpp)
if(USE_SOUND)
set(sound_SRCS ${sound_SRCS}
list(APPEND sound_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/sound/al_extensions.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sound/al_helpers.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sound/ogg_file.cpp