diff --git a/.gitmodules b/.gitmodules index 672f6a6..3d85fec 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index c3953f3..d81c515 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -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 -) diff --git a/libs/imgui_sdl b/libs/imgui_sdl deleted file mode 160000 index ec9f06b..0000000 --- a/libs/imgui_sdl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ec9f06b02125b4427a5157cce06b344fb435776d diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 50e85e1..90c8ad2 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -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})