Skip to content

Commit

Permalink
build(CMakelists): deleted redundant dep
Browse files Browse the repository at this point in the history
  • Loading branch information
ms0g committed Apr 20, 2024
1 parent ed94503 commit 1123f33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ if (SDL2_FOUND)
include_directories(${SDL2_INCLUDE_DIR})
endif ()

find_package(ASSIMP REQUIRED)
if (ASSIMP_FOUND)
include_directories(${ASSIMP_INCLUDE_DIR})
endif ()

set(GLM_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/libs/glm/include)
set(GLAD_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/libs/glad/include)
set(STB_IMAGE_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/libs/image/include)
Expand Down Expand Up @@ -62,4 +57,4 @@ target_include_directories(${PROJECT_NAME} PUBLIC
${KHR_INCLUDE_DIRS}
)

target_link_libraries(${PROJECT_NAME} OpenGL::GL ${SDL2_LIBRARIES} ${ASSIMP_LIBRARIES})
target_link_libraries(${PROJECT_NAME} OpenGL::GL ${SDL2_LIBRARIES})
2 changes: 1 addition & 1 deletion src/core/gui.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <SDL2/SDL.h>
#include <SDL.h>

class Gui {
public:
Expand Down
2 changes: 1 addition & 1 deletion src/core/input.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "input.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include "camera.h"
#include "../../libs/imgui/imgui_impl_sdl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/core/window.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <string>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "IWindow.hpp"

class Window : public IWindow<SDL_Window> {
Expand Down

0 comments on commit 1123f33

Please sign in to comment.