1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00
imgui/examples/example_sdl2_opengl3/CMakeLists.txt

11 lines
341 B
CMake

if (TARGET imgui-sdl2 AND TARGET imgui-opengl)
add_executable (imgui_example_sdl2_opengl3 main.cpp)
target_link_libraries (imgui_example_sdl2_opengl3
imgui-sdl2 imgui-opengl
)
set_target_properties (imgui_example_sdl2_opengl3
PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${IMGUI_EXAMPLE_OUTPUT_DIR}"
)
endif ()