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 | c607077c2266d34cadc956ae0cc5099d5e22dfe6 (patch) | |
| tree | 6e8c57513c1644eb02e1f4be07a363ec72e9f5fa /src/button | |
| parent | 7a92eb3eb674e54f8450f78ddb5717716bbf3116 (diff) | |
| download | jancity-c607077c2266d34cadc956ae0cc5099d5e22dfe6.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
