This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. 12 Mar, 2021 1 commit
  2. 24 Feb, 2021 1 commit
  3. 17 Feb, 2021 1 commit
    • Scott K Logan's avatar
      Use INTERFACE_LINK_OPTIONS in sdl2_vendor (#195) · b8d4c136
      Scott K Logan authored
      * Use INTERFACE_LINK_OPTIONS in sdl2_vendor
      The SDL2_LIBRARIES value populated by sdl2-config.cmake doesn't actually
      contain the path to the SDL2 library, but rather the linker options
      necessary to link against SDL2. On Ubuntu, this appears to be `-lSDL2`.
      On RHEL, this is `-L/usr/lib64 -lSDL2`.
      The OBJECT_LOCATION property creates a Makefile target that the imported
      library depends on. On Ubuntu, this utilizes a little-known feature of
      GNU make where a target that starts with `-l` triggers a search on the
      VPATH for a library to satisfy the target.
      There are two problems here:
      1. When SDL2_LIBRARIES contains more than just the `-lSDL2` linker
         option, the aforementioned VPATH search doesn't work correctly.
      2. The VPATH search may not be able to find if it isn't in a
         standard location, and the current approach doesn't make any effort
         to modify the VPATH in the presence of a `-L` option.
      I'm not sure if the `-l` behavior was known when this change was
      implemented, or if we just got lucky that this worked out on Ubuntu.
      In any case, switching to INTERFACE_LINK_OPTIONS is a more appropriate
      way to use the stuff in the SDL2_LIBRARIES value. Unfortunately, a
      SHARED target requires a backing object, so I had to switch it to an
      INTERFACE target to make this work. I'm not entirely sure what secondary
      effects that might have, but it appears to work in all cases that I
      Signed-off-by: default avatarScott K Logan <>
  4. 16 Feb, 2021 3 commits
  5. 27 Nov, 2020 1 commit
  6. 11 Aug, 2020 1 commit
  7. 17 Jul, 2020 3 commits
  8. 07 Jul, 2020 1 commit
  9. 13 May, 2020 3 commits
  10. 12 May, 2020 3 commits
  11. 10 Apr, 2020 1 commit
  12. 05 Apr, 2020 2 commits
  13. 03 Apr, 2020 1 commit
  14. 31 Mar, 2020 9 commits
  15. 19 Jan, 2020 4 commits
  16. 03 Dec, 2019 2 commits
  17. 24 Jun, 2019 3 commits