FindLibLZMA: Update documentation

- Module documentation synced a bit with other similar find modules.
- Added examples section.
This commit is contained in:
Peter Kokot
2025-04-07 16:47:36 +02:00
parent 9c3cf45c82
commit 86ed465ee6
2 changed files with 46 additions and 25 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ endif()
if(NOT CMAKE_USE_SYSTEM_LIBARCHIVE)
if(CMAKE_USE_SYSTEM_LIBLZMA)
find_package(LibLZMA)
if(NOT LIBLZMA_FOUND)
if(NOT LibLZMA_FOUND)
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBLZMA is ON but LibLZMA is not found!")
endif()
else()