Skip to content

Commit

Permalink
cmake: append " wave" to ENABLED_OUTPUT before stripping
Browse files Browse the repository at this point in the history
also add comment that WAV output is always enabled.
  • Loading branch information
sezero committed Apr 4, 2024
1 parent 1fb9522 commit 1cf3908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ IF(WANT_PLAYER OR WANT_PLAYERSTATIC)
STRING(APPEND ENABLED_OUTPUT " winmm")
ENDIF()

STRING(STRIP ${ENABLED_OUTPUT} ENABLED_OUTPUT)
# WAV file output as an audio output backend is always enabled
STRING(APPEND ENABLED_OUTPUT " wave")

STRING(STRIP ${ENABLED_OUTPUT} ENABLED_OUTPUT)
MESSAGE(STATUS "Enabled audio output backends: ${ENABLED_OUTPUT}")
ENDIF()

Expand Down

0 comments on commit 1cf3908

Please sign in to comment.