Skip to content

Commit

Permalink
Revert "build(CMakeList): removed redundant deps"
Browse files Browse the repository at this point in the history
This reverts commit 067e105.
  • Loading branch information
ms0g committed Apr 8, 2024
1 parent 067e105 commit e7d8fac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ if (SDL2_FOUND)
include_directories(${SDL2_INCLUDE_DIR})
endif()

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

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

target_link_libraries(${PROJECT_NAME} OpenGL::GL ${SDL2_LIBRARIES})
target_link_libraries(${PROJECT_NAME} OpenGL::GL ${SDL2_LIBRARIES} ${ASSIMP_LIBRARIES})

0 comments on commit e7d8fac

Please sign in to comment.