Skip to content

Commit

Permalink
Remove unnecessary CMake modules.
Browse files Browse the repository at this point in the history
* Compiling without find_package(OpenGL REQUIRED) has no side-effect because LOVE uses SDL to load OpenGL. GLAD is used to as substitute for OpenGL headers too.
* Mpg123 is no longer used in LOVE 12. Remove the respective CMake module.
* CMake has its own FindOpenAL.cmake script. There's no need to provide our own.
  • Loading branch information
MikuAuahDark committed Jan 29, 2024
1 parent dc83913 commit 5acc98c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 55 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ Please see https://github.com/love2d/megasource
find_package(Harfbuzz REQUIRED)
find_package(ModPlug REQUIRED)
find_package(OpenAL REQUIRED)
find_package(OpenGL REQUIRED)
find_package(SDL2 2.0.9 REQUIRED CONFIG COMPONENTS SDL2main)
find_package(Theora REQUIRED)
find_package(Vorbis REQUIRED)
Expand All @@ -206,7 +205,6 @@ Please see https://github.com/love2d/megasource
)

set(LOVE_LINK_LIBRARIES
${OPENGL_gl_LIBRARY}
${SDL2_LIBRARIES}
${FREETYPE_LIBRARY}
${HARFBUZZ_LIBRARY}
Expand Down
25 changes: 0 additions & 25 deletions extra/cmake/FindMPG123.cmake

This file was deleted.

28 changes: 0 additions & 28 deletions extra/cmake/FindOpenAL.cmake

This file was deleted.

0 comments on commit 5acc98c

Please sign in to comment.