mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 22:17:50 +08:00
70992f6491
* [imgui] fixed imgui[glfw-binding] build for emscripten (#30790) * [imgui] updated versions (#30790) * Updated imgui-config.cmake.in with suggested changes. * Updated git-tree.
30 lines
606 B
CMake
30 lines
606 B
CMake
cmake_policy(SET CMP0012 NEW)
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
if (@IMGUI_BUILD_GLFW_BINDING@)
|
|
if (NOT "@EMSCRIPTEN@")
|
|
find_dependency(glfw3 CONFIG)
|
|
endif()
|
|
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")
|