Use SDL for ImGui
This commit is contained in:
10
external/imgui/CMakeLists.txt
vendored
Normal file
10
external/imgui/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
project(imgui)
|
||||
|
||||
file(GLOB SOURCES *.cpp)
|
||||
file(GLOB HEADERS *.h)
|
||||
|
||||
list(APPEND SOURCES backends/imgui_impl_sdl3.cpp backends/imgui_impl_vulkan.cpp)
|
||||
|
||||
add_library(imgui ${SOURCES} ${HEADERS})
|
||||
target_include_directories(imgui PRIVATE . backends ../SDL/include)
|
||||
target_compile_definitions(imgui PUBLIC IMGUI_IMPL_VULKAN_USE_VOLK)
|
||||
Reference in New Issue
Block a user