mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:29:53 +08:00
44 lines
868 B
CMake
44 lines
868 B
CMake
cmake_policy(SET CMP0012 NEW)
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
if (@IMGUI_BUILD_GLFW_BINDING@)
|
|
find_dependency(glfw3 CONFIG)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_OPENGL3_GLEW_BINDING@)
|
|
find_dependency(GLEW)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_OPENGL3_GLAD_BINDING@)
|
|
find_dependency(glad CONFIG)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_OPENGL3_GL3W_BINDING@)
|
|
find_dependency(gl3w CONFIG)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_GLUT_BINDING@)
|
|
find_dependency(GLUT)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_OPENGL3_GLBINDING_BINDING@)
|
|
find_dependency(glbinding CONFIG)
|
|
endif()
|
|
|
|
if (@IMGUI_BUILD_SDL2_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")
|