mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 20:27:56 +08:00
6 lines
234 B
Plaintext
6 lines
234 B
Plaintext
|
The package liblzma is compatible with built-in CMake targets:
|
||
|
|
||
|
find_package(LibLZMA REQUIRED)
|
||
|
target_include_directories(main PRIVATE ${LIBLZMA_INCLUDE_DIRS})
|
||
|
target_link_libraries(main PRIVATE ${LIBLZMA_LIBRARIES})
|