| Summary: | [PATCH] CMake: small error and code cleanup | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | David Demelier <markand> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
| Attachments: | CMake.patch | ||
To use SDL2_ttf on CMake project:
find_package(SDL2_ttf)
target_link_libraries(myexe SDL2::SDL2_ttf)
|
Created attachment 3488 [details] CMake.patch Hello, I'm sorry the initial CMake support got a small error that made it non-working on Linux system because I only have tested it on a case-insensitive OS. The patch changes the file names to the lowercase convention to avoid this kind of errors. sdl2_ttf-config.cmake sdl2_ttf-config-version.cmake sdl2_ttf-config-targets.cmake I propose to do the same for SDL and will do it if your okay (it's fully backward compatible).