[liblzma] Add usage information

This commit is contained in:
Robert Schumacher 2018-02-13 00:01:51 -08:00
parent d8f3fffd5e
commit 4fd4c03dd8
2 changed files with 7 additions and 0 deletions

View File

@ -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
View 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})