mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
* initial attempt * forgot to add linux to the deps * little more cleanup * cleanup * remove imgui * include dirs * windows * metal stuff * metal * windows * try just moving this for now * makeavailable is working now
11 lines
337 B
CMake
11 lines
337 B
CMake
#=================== ImGui ===================
|
|
find_package(SDL2 REQUIRED)
|
|
target_link_libraries(ImGui PUBLIC SDL2::SDL2)
|
|
|
|
if (USE_OPENGLES)
|
|
target_link_libraries(ImGui PUBLIC ${OPENGL_GLESv2_LIBRARY})
|
|
add_compile_definitions(IMGUI_IMPL_OPENGL_ES3)
|
|
else()
|
|
target_link_libraries(ImGui PUBLIC ${OPENGL_opengl_LIBRARY})
|
|
endif()
|