aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/image_file.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-04-22 09:18:04 +0200
committerBastien Bouclet2018-04-22 09:27:04 +0200
commit04c321d200e10b60b04d1a5a07dc3936f3d29806 (patch)
tree01e896e50db34f2350765999f6e7c73cad3958b8 /engines/sherlock/image_file.cpp
parent086ab443c015274a2aceca3ef5c943ebd3aff792 (diff)
downloadscummvm-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/sherlock/image_file.cpp')
0 files changed, 0 insertions, 0 deletions