try to fix build

This commit is contained in:
Richard Ward
2025-12-19 01:16:19 +00:00
parent a86d60f937
commit 24539a8601
3 changed files with 12 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ endif()
if(BUILD_SDL3_APP)
find_package(Vulkan REQUIRED)
find_package(SDL3 CONFIG REQUIRED)
endif()
find_package(lua CONFIG REQUIRED)

9
CMakeUserPresets.json Normal file
View File

@@ -0,0 +1,9 @@
{
"version": 4,
"vendor": {
"conan": {}
},
"include": [
"build/CMakePresets.json"
]
}

View File

@@ -5,7 +5,8 @@ A minimal SDL3 + Vulkan spinning cube demo.
1. Install or update [Conan 2.x](https://docs.conan.io/en/latest/installation.html) and run
```
conan install . --install-folder build --build=missing
conan profile detect
conan install . -of build -b missing -s compiler=msvc -s compiler.version=194 -s compiler.cppstd=17 -c tools.cmake.cmaketoolchain:generator="Visual Studio 17 2022"
```
so that Conan brings in `lua`, SDL3, and the Vulkan loader + headers.
2. Configure the project with CMake using the generated Conan toolchain: