backends: use cmake FetchContent for SDL2 examples

This commit is contained in:
sonoro1234
2025-02-05 17:53:05 +01:00
parent 387e5e0d8b
commit 2e5db87e99
4 changed files with 71 additions and 76 deletions

View File

@@ -0,0 +1,3 @@
This example needs vulkan generation before compilation: Vulkan SDK should be installed and then add "vulkan" to generator.bat and generate.
To build use `cmake path_to_example_sdl_vulkan` and then `make install`