mirror of https://github.com/mosra/magnum.git
Browse Source
SDL 2.24 started adding a SDL2::SDL2 alias, which would avoid some of the extra branching I had to do in the Find module. Unfortunately, on CMake before 3.18 it causes static SDL to be marked as not found because the alias isn't an alias but rather an INTERFACE that links to SDL2::SDL2-static, which means it doesn't have the INTERFACE_LINK_LIBRARIES property, which it fails on. So I'm detecting that and undoing it in order to not fail.pull/651/merge
1 changed files with 19 additions and 0 deletions
Loading…
Reference in new issue