vcpkg/ports/sdl2-mixer/usage
Thomas1664 59b861ab16
[sdl2-mixer] Fix usage (#26083)
* [sdl2-mixer] Fix usage

* version

* format

* version

* Fix usage

* version
2022-08-04 10:51:24 -07:00

5 lines
220 B
Plaintext

sdl2-mixer provides CMake targets:
find_package(SDL2_mixer CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_mixer::SDL2_mixer>,SDL2_mixer::SDL2_mixer,SDL2_mixer::SDL2_mixer-static>)