Skip to content

Commit

Permalink
Don't statically link libxmp
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 authored and slouken committed Oct 15, 2024
1 parent c6b3e44 commit 94bfb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ if(SDL2MIXER_MOD_XMP)
else()
message(STATUS "Using system libxmp")
find_package(libxmp REQUIRED)
if(TARGET libxmp::xmp_shared AND SDL2MIXER_MOD_XMP_SHARED)
if(TARGET libxmp::xmp_shared)
set(tgt_xmp libxmp::xmp_shared)
elseif(TARGET libxmp::xmp_static)
set(tgt_xmp libxmp::xmp_static)
Expand Down

0 comments on commit 94bfb78

Please sign in to comment.