2023-04-15 01:10:34 -07:00

5 lines
197 B
Plaintext

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>)