mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 19:09:01 +08:00
5 lines
220 B
Plaintext
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>)
|