sdl2-config.cmake: extra leading / trailing whitespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsdl2 (Debian) |
Fix Released
|
Unknown
|
|||
libsdl2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Version: xenial (16.04LTS)
Package: libsdl2-dev (2.0.4+
When trying to use SDL2 in a project (GZDoom) with CMake, I encountered the
following error:
CMake Error at src/CMakeLists.
Target "zdoom" links to item "-L/usr/
has leading or trailing whitespace. This is now an error according to
policy CMP0004.
This is the relevant part of the CMakeLists.txt:
-------
find_package( SDL2 REQUIRED CONFIG )
-------
I see that this bug was fix in Debian back in 2016 with the release of package version 2.0.4+dfsg2-1: https:/
Ubuntu xenial (16.04LTS) is currently on an older version (2.0.4+
Can the Debian bug fix be picked up for Ubuntu xenial (16.04LTS)?
Changed in libsdl2 (Debian): | |
status: | Unknown → Fix Released |
Sadly xenial is EOL, please upgrade to a newer LTS