mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-08 04:40:09 +00:00
Merge b567ffe7e0 into f5384544cb
This commit is contained in:
commit
cd1ba4c0ac
18 changed files with 868 additions and 42 deletions
16
examples/example_sdl2_vulkan/CMakeLists.txt
Normal file
16
examples/example_sdl2_vulkan/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(example_sdl2_vulkan
|
||||
LANGUAGES CXX)
|
||||
|
||||
find_package(ImGui CONFIG REQUIRED
|
||||
COMPONENTS ImplSDL2 ImplVulkan)
|
||||
|
||||
add_executable(${PROJECT_NAME} WIN32 main.cpp)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
PRIVATE ImGui::ImplSDL2 ImGui::ImplVulkan)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue