More changes to accomodate Android - imgui/host display

This commit is contained in:
Connor McLaughlin
2019-11-28 23:29:03 +10:00
committed by Connor McLaughlin
parent f11d357ab9
commit ea0b13a05c
11 changed files with 71 additions and 124 deletions

View File

@ -32,3 +32,12 @@ if(SDL2_FOUND)
target_link_libraries(imgui PRIVATE glad SDL2::Core)
endif()
if(ANDROID)
target_sources(imgui PRIVATE
include/imgui_impl_opengl3.h
src/imgui_impl_opengl3.cpp
)
target_link_libraries(imgui PRIVATE glad)
endif()