mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:39:06 +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})
|