diff options
author | Bastien Bouclet | 2018-04-22 09:18:04 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-04-22 09:27:04 +0200 |
commit | 04c321d200e10b60b04d1a5a07dc3936f3d29806 (patch) | |
tree | 01e896e50db34f2350765999f6e7c73cad3958b8 /engines/sci/POTFILES | |
parent | 086ab443c015274a2aceca3ef5c943ebd3aff792 (diff) | |
download | scummvm-rg350-04c321d200e10b60b04d1a5a07dc3936f3d29806.tar.gz scummvm-rg350-04c321d200e10b60b04d1a5a07dc3936f3d29806.tar.bz2 scummvm-rg350-04c321d200e10b60b04d1a5a07dc3936f3d29806.zip |
CREATE_PROJECT: CMAKE: Fix importing SDL2 when it was built using CMake
When SDL is built using CMake, Find_Package imports a target instead of
defining variables. If a target was imported we now define the include
path and linker flags variables from the target's properties.
Using imported targets is a best practice. Ideally, we should define an
imported target when we detect variables were defined.
However, the linker flags variable would need to be parsed into a
library path and a list of libraries, making that approach impractical.
Diffstat (limited to 'engines/sci/POTFILES')
0 files changed, 0 insertions, 0 deletions