diff options
author | Brad King <brad.king@kitware.com> | 2010-08-05 21:06:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-08-05 21:06:10 (GMT) |
commit | 3296e6ad90865ae618435452e3422eab97ce9a09 (patch) | |
tree | 10703ff5ff78475cfb1152c2a461f4b92dc8a48d /Source/CPack/cmCPackArchiveGenerator.cxx | |
parent | a602f8718692a5a44a8d582a6b4d7c8e46bf4315 (diff) | |
download | CMake-3296e6ad90865ae618435452e3422eab97ce9a09.zip CMake-3296e6ad90865ae618435452e3422eab97ce9a09.tar.gz CMake-3296e6ad90865ae618435452e3422eab97ce9a09.tar.bz2 |
Include headers from chosen libarchive (#10923)
When CMAKE_USE_SYSTEM_LIBARCHIVE is on we must include the system
libarchive headers to match the library that will be linked.
Diffstat (limited to 'Source/CPack/cmCPackArchiveGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index a52d05e..5981603 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -22,9 +22,7 @@ #include <errno.h> #include <cmsys/SystemTools.hxx> -#include <cmlibarchive/libarchive/archive.h> -#include <cmlibarchive/libarchive/archive_entry.h> - +#include <cm_libarchive.h> //---------------------------------------------------------------------- cmCPackArchiveGenerator::cmCPackArchiveGenerator(CompressType t, |