vcpkg/ports/liblzma/usage

6 lines
234 B
Plaintext
Raw Normal View History

2018-02-13 16:01:51 +08:00
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})