This commit is contained in:
tildearrow 2024-04-11 22:30:04 -05:00
parent 18cad7544f
commit 285bc9171f

View file

@ -958,8 +958,8 @@ endif()
if (WITH_RENDER_METAL)
if (APPLE)
list(APPEND GUI_SOURCES src/gui/render/renderMetal.cpp)
list(APPEND GUI_SOURCES extern/imgui_patched/backends/imgui_impl_metal.cpp)
list(APPEND GUI_SOURCES src/gui/render/renderMetal.mm)
list(APPEND GUI_SOURCES extern/imgui_patched/backends/imgui_impl_metal.mm)
list(APPEND DEPENDENCIES_DEFINES HAVE_RENDER_METAL)
list(APPEND DEPENDENCIES_LIBRARIES "-framework Metal")
list(APPEND DEPENDENCIES_LIBRARIES "-framework MetalKit")