Skip to content

Commit

Permalink
Don't explicitly search for avrt
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Aug 21, 2024
1 parent c0e5532 commit f721be4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,8 @@ if(WIN32)
set(BACKENDS "${BACKENDS} WASAPI,")
set(ALC_OBJS ${ALC_OBJS} alc/backends/wasapi.cpp alc/backends/wasapi.h)

find_library(AVRT_LIBRARY NAMES avrt DOC "The AVRT library")
if(AVRT_LIBRARY)
set(EXTRA_LIBS ${AVRT_LIBRARY} ${EXTRA_LIBS})
if(NOT ALSOFT_UWP)
set(EXTRA_LIBS avrt ${EXTRA_LIBS})
endif()
endif()
endif()
Expand Down

0 comments on commit f721be4

Please sign in to comment.