The build system generates the SDL3 library in the build folder, but imgui was not searching in the correct directory due to the command issue. target_link_directories(imgui PUBLIC SDL3)
in the vendors/imgui/CMakeLists.txt
file, on the last line, needs to be target_link_libraries(imgui PUBLIC SDL3::SDL3)
.