mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 11:17:50 +08:00
358e3449d3
* Fix lzo support in wrapper * Update usage * Update versions * CI
9 lines
366 B
Plaintext
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
|