From d1f60f24e12b217553fb92dc3f1945edb6b2e7aa Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Wed, 22 Jun 2022 12:18:03 +0200 Subject: [PATCH] example_vulkan: add CIMGUI_USE_VULKAN and SDL --- backend_test/example_sdl_vulkan/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/backend_test/example_sdl_vulkan/CMakeLists.txt b/backend_test/example_sdl_vulkan/CMakeLists.txt index 730a277..3163f9c 100644 --- a/backend_test/example_sdl_vulkan/CMakeLists.txt +++ b/backend_test/example_sdl_vulkan/CMakeLists.txt @@ -92,6 +92,7 @@ target_link_libraries(cimgui_sdl ${IMGUI_LIBRARIES} ${IMGUI_SDL_LIBRARY}) #using library include_directories(../../generator/output/) add_executable(test_sdl main.c) +target_compile_definitions(test_sdl PUBLIC -DCIMGUI_USE_VULKAN -DCIMGUI_USE_SDL) if (MINGW) target_link_options(test_sdl PRIVATE "-mconsole") endif()