Kai Pastor 358e3449d3
[libarchive] Fix lzo support in wrapper (#23664)
* Fix lzo support in wrapper

* Update usage

* Update versions

* CI
2022-03-22 21:37:07 -07:00

9 lines
366 B
Plaintext

The package libarchive is compatible with the CMake Find Module:
find_package(LibArchive REQUIRED)
target_include_directories(main PRIVATE ${LibArchive_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${LibArchive_LIBRARIES})
find_package(LibArchive REQUIRED)
target_link_libraries(main PRIVATE LibArchive::LibArchive) # CMake >= 3.17