build(windows): fix gcc15 compatibility (#3946)

This commit is contained in:
ReenigneArcher
2025-06-07 16:29:45 -04:00
committed by GitHub
parent 0de8cc864c
commit 1938385bf0
4 changed files with 55 additions and 33 deletions

View File

@@ -15,6 +15,7 @@ target_compile_options(dxgi-info PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
add_executable(audio-info audio.cpp)
set_target_properties(audio-info PROPERTIES CXX_STANDARD 20)
target_link_libraries(audio-info
${Boost_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
ksuser
${PLATFORM_LIBRARIES})