diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-08 00:11:14 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-06-08 00:36:26 +0200 |
| commit | 99bb23e194215cefdfeb0fa90bb2ad89dd257ba2 (patch) | |
| tree | 8862fd26297cadd8111b221a6ad7dec9de1a9f4b /src/button | |
| parent | 706d299af4fc8ab0cc12c7a36381f5faba54684e (diff) | |
| download | rts-99bb23e194215cefdfeb0fa90bb2ad89dd257ba2.tar.gz | |
win9x.cmake: use target commands for SDL and SDL_mixer
Since libSDL.a and libSDL_mixer.a are compiled separately from this
project, some hacks had been used to get the build running. However,
this approach did not make proper use of target-level properties, which
are encouraged according to modern CMake standards over global-level
commands such as include_directories() or link_libraries().
OTOH, Win32 dependencies were being imported using link_libraries(), but
they in fact are SDL dependencies, so target_link_libraries() can be
used instead.
Diffstat (limited to 'src/button')
0 files changed, 0 insertions, 0 deletions
