Skip to content

Commit

Permalink
cmake: Add the IoRing async i/o code to the Windows build.
Browse files Browse the repository at this point in the history
The Visual Studio projects have been compiling this for awhile, but apparently
we haven't tested this through CMake before. Toolchains without access to
the latest Windows 11 SDK headers have been preprocessing out the dependency
on this code, so we never noticed.
  • Loading branch information
icculus committed Jan 16, 2025
1 parent abcd168 commit decb696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,7 @@ elseif(WINDOWS)

sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/windows/*.c")
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/main/windows/*.c")
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/io/windows/*.c")

if(TARGET SDL3-shared AND MSVC AND NOT SDL_LIBC)
# Prevent codegen that would use the VC runtime libraries.
Expand Down

0 comments on commit decb696

Please sign in to comment.