mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +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] Revert d14f917bd2c099575d2b5e57bfe8005ffa3d3506 * [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})
|