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 19, 2024
1 parent 785335b commit 61ea880
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 @@ -797,7 +797,7 @@ if(SDLMIXER_MOD_XMP)
if(libxmp_FOUND)
set(SDLMIXER_MOD_XMP_ENABLED TRUE)
message(STATUS "Using system libxmp")
if(TARGET libxmp::xmp_shared AND SDLMIXER_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 61ea880

Please sign in to comment.