mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
b1853f642f
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
27 lines
560 B
CMake
27 lines
560 B
CMake
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")
|