mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 21:13:04 +08:00
[liblzma] Add usage information
This commit is contained in:
parent
d8f3fffd5e
commit
4fd4c03dd8
@ -31,3 +31,5 @@ endif()
|
||||
|
||||
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblzma)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/liblzma/COPYING ${CURRENT_PACKAGES_DIR}/share/liblzma/copyright)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblzma)
|
||||
|
5
ports/liblzma/usage
Normal file
5
ports/liblzma/usage
Normal file
@ -0,0 +1,5 @@
|
||||
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})
|
Loading…
Reference in New Issue
Block a user