pineapple/externals/vcpkg/ports/liblzma/usage

10 lines
254 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package liblzma provides CMake targets:
find_package(LibLZMA REQUIRED)
target_link_libraries(main PRIVATE LibLZMA::LibLZMA)
or
find_package(liblzma CONFIG REQUIRED)
target_link_libraries(main PRIVATE liblzma::liblzma)