mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 19:09:00 +08:00
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})
|