Skip to content

Commit

Permalink
Switch out minimp3 with the dr_mp3 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
eXpl0it3r committed May 14, 2024
1 parent b7e1a25 commit b5f9098
Show file tree
Hide file tree
Showing 9 changed files with 4,869 additions and 3,333 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ if(SFML_USE_SYSTEM_DEPS)
foreach(DEP_FILE ${DEP_LIBS} ${DEP_BINS} ${DEP_HEADERS})
get_filename_component(DEP_DIR ${DEP_FILE} PATH)

if(NOT DEP_DIR MATCHES "/(stb_image|minimp3)(/|$)")
if(NOT DEP_DIR MATCHES "/(stb_image|dr_mp3)(/|$)")
list(APPEND CMAKE_IGNORE_PATH "${DEP_DIR}")
endif()

get_filename_component(DEP_PARENT_DIR ${DEP_DIR} PATH)
while(NOT DEP_PARENT_DIR STREQUAL "${CMAKE_SOURCE_DIR}/extlibs")
if(NOT DEP_DIR MATCHES "/(stb_image|minimp3)(/|$)")
if(NOT DEP_DIR MATCHES "/(stb_image|dr_mp3)(/|$)")
list(APPEND CMAKE_IGNORE_PATH "${DEP_PARENT_DIR}")
endif()

Expand Down
Loading

0 comments on commit b5f9098

Please sign in to comment.