mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-24 13:44:58 +00:00
try to fix build
This commit is contained in:
@@ -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
9
CMakeUserPresets.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 4,
|
||||
"vendor": {
|
||||
"conan": {}
|
||||
},
|
||||
"include": [
|
||||
"build/CMakePresets.json"
|
||||
]
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user