summaryrefslogtreecommitdiff
path: root/libraries/imgui/imgui-config.cmake.in
blob: 1ea694a10beb465c7c53f970bbba03ef0222c767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_policy(SET CMP0012 NEW)

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

if (@IMGUI_BUILD_GLFW_BINDING@)
    find_dependency(glfw3 CONFIG)
endif()

if (@IMGUI_BUILD_GLUT_BINDING@)
    find_dependency(GLUT)
endif()

if (@IMGUI_BUILD_SDL2_BINDING@ OR @IMGUI_BUILD_SDL2_RENDERER_BINDING@)
    find_dependency(SDL2 CONFIG)
endif()

if (@IMGUI_BUILD_VULKAN_BINDING@)
    find_dependency(Vulkan)
endif()

if (@IMGUI_FREETYPE@)
    find_dependency(freetype CONFIG)
endif()

include("${CMAKE_CURRENT_LIST_DIR}/imgui-targets.cmake")