vcpkg/ports/libxmp/usage

5 lines
197 B
Plaintext
Raw Normal View History

2023-04-15 16:10:34 +08:00
libxmp provides CMake targets:
find_package(libxmp CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libxmp::xmp_shared>,libxmp::xmp_shared,libxmp::xmp_static>)