mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 21:19:00 +08:00
838574a4e6
* Fix regression cf. https://github.com/microsoft/vcpkg/issues/14567 introduced with commit5dc53211ca
* Changes as suggested in https://github.com/microsoft/vcpkg/pull/14579#discussion_r523812601 and following * Change as suggested in https://github.com/microsoft/vcpkg/pull/14579#discussion_r523809876 * [cmake] Fix dependency zstd * [cmake] Revertd14f917bd2
* [libarchive] Fix cmake wrapper, add usage * Manual merge offa887c48f1
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
6 lines
246 B
Plaintext
6 lines
246 B
Plaintext
The package libarchive is compatible with built-in CMake targets:
|
|
|
|
find_package(libarchive REQUIRED)
|
|
target_include_directories(main PRIVATE ${LibArchive_INCLUDE_DIRS})
|
|
target_link_libraries(main PRIVATE ${LibArchive_LIBRARIES})
|