mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 17:38:59 +08:00
10 lines
254 B
Plaintext
10 lines
254 B
Plaintext
|
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)
|