Commit 0b51b5e6 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot

Merge topic 'export-libarchive-variables'

2619d773 libarchive: set library and include dirs
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Haocheng LIU's avatarHaocheng LIU <haocheng.liu@kitware.com>
Merge-request: !518
parents 497ea176 2619d773
Pipeline #142327 failed with stage
in 0 seconds
......@@ -3,3 +3,10 @@ superbuild_add_project(libarchive
# quiet "developer-only" warnings
-Wno-dev
)
if (UNIX AND NOT APPLE)
superbuild_add_extra_cmake_args(
-DLibArchive_INCLUDE_DIR:PATH=<INSTALL_DIR>/include
-DLibArchive_LIBRARY:FILEPATH=<INSTALL_DIR>/lib/${CMAKE_SHARED_LIBRARY_PREFIX}archive${CMAKE_SHARED_LIBRARY_SUFFIX}
)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment