3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4 commits

Author SHA1 Message Date
Carles Pagès d07276113a SDL2: 2.0.12 -> 2.0.14 2021-01-17 00:06:38 +01:00
Carles Pagès ba5b8aa859 SDL2: fix cmake interface includes for SDL2::SDL2
Fixes #103346. The environment var for finding the cmake companion libs
headers was missing from the SDL2::SDL2 target, it only worked when
using SDL2_INCLUDE_DIRS.
2020-11-11 12:53:49 +01:00
Pierre Bourdon 1a1696f9b6 SDL2: don't mix space-separated / lists in cmake config
The SDL2_PATH environment variable is space-separated. However, CMake
lists are semicolon separated, and doing set(list "a" ${var}) will end
up with list containing "a;b c d". This causes downstream users to fail
parsing the include dirs list.

Normalize the include dirs list to a normal CMake semicolon-separated
list using separate_arguments.
2019-08-22 11:41:16 +03:00
Nikolay Amiantov 7bf7f19765 SDL2: cleanup and add patch to discover extensions 2016-08-22 06:30:01 +03:00