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()