Skip to content

Commit

Permalink
Remove unused library imgui_sdl
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Sep 3, 2022
1 parent 9581e53 commit 2131dae
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "imgui_sdl"]
path = libs/imgui_sdl
url = https://github.com/Tyyppi77/imgui_sdl
[submodule "SDL_ttf"]
path = libs/SDL_ttf
url = https://github.com/libsdl-org/SDL_ttf.git
Expand Down
16 changes: 0 additions & 16 deletions libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,3 @@ target_link_libraries(imgui
PUBLIC
SDL2::SDL2-static
)

add_library(imgui_sdl STATIC
imgui_sdl/imgui_sdl.cpp
imgui_sdl/imgui_sdl.h
)

target_link_libraries(imgui_sdl
PUBLIC
SDL2::SDL2-static
imgui
)

target_include_directories(imgui_sdl
PUBLIC
imgui_sdl
)
1 change: 0 additions & 1 deletion libs/imgui_sdl
Submodule imgui_sdl deleted from ec9f06
2 changes: 1 addition & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
${IMGui_LIBRARIES}
${OPENGL_LIBRARIES}
SDL2_ttf::SDL2_ttf-static
imgui_sdl
imgui
)

set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

0 comments on commit 2131dae

Please sign in to comment.