chore: remove unused dependencies

This commit is contained in:
maelstrom 2025-03-16 15:02:22 +01:00
commit 8e7907fd20
5 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,7 @@
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
find_package(glfw3 REQUIRED) find_package(glfw3 REQUIRED)
add_executable(client "src/main.cpp") add_executable(client "src/main.cpp")
target_link_libraries(client PRIVATE openblocks glfw) target_link_libraries(client PRIVATE ${SDL2_LIBRARIES} openblocks glfw)

View file

@ -23,7 +23,7 @@ include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
include(${CMAKE_ROOT}/Modules/SelectLibraryConfigurations.cmake) include(${CMAKE_ROOT}/Modules/SelectLibraryConfigurations.cmake)
if(NOT Stb_INCLUDE_DIR) if(NOT Stb_INCLUDE_DIR)
find_path(Stb_INCLUDE_DIR NAMES stb_image.h PATHS ${Stb_DIR} PATH_SUFFIXES include) find_path(Stb_INCLUDE_DIR NAMES stb_image.h PATHS ${Stb_DIR} PATH_SUFFIXES include stb include/stb)
endif() endif()
find_package_handle_standard_args(Stb DEFAULT_MSG Stb_INCLUDE_DIR) find_package_handle_standard_args(Stb DEFAULT_MSG Stb_INCLUDE_DIR)

View file

@ -1,14 +1,10 @@
find_package(OpenGL REQUIRED COMPONENTS OpenGL) find_package(OpenGL REQUIRED COMPONENTS OpenGL)
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
find_package(GLEW REQUIRED) find_package(GLEW REQUIRED)
include_directories(${GLEW_INCLUDE_DIRS}) include_directories(${GLEW_INCLUDE_DIRS})
find_package(OpenGL) find_package(OpenGL)
find_package(glm CONFIG REQUIRED) find_package(glm CONFIG REQUIRED)
# find_package(assimp REQUIRED)
find_package(ReactPhysics3D REQUIRED) find_package(ReactPhysics3D REQUIRED)
find_package(pugixml 1.15 REQUIRED) find_package(pugixml 1.15 REQUIRED)

View file

@ -1,10 +1,9 @@
glm opengl (Linux: glvnd, Windows: [built-in/none])
opengl
assimp
sdl2
glfw glfw
glut
glew glew
glm
sdl2
stb
qt6 qt6
reactphysics3d reactphysics3d
pugixml pugixml

View file

@ -123,6 +123,8 @@ install(TARGETS editor
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
) )
install(FILES $<TARGET_RUNTIME_DLLS:editor> TYPE BIN)
if(QT_VERSION_MAJOR EQUAL 6) if(QT_VERSION_MAJOR EQUAL 6)
qt_finalize_executable(editor) qt_finalize_executable(editor)
endif() endif()