5 lines
197 B
Plaintext
Raw Normal View History

2023-04-15 12:10:34 +04: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>)