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/cmSystemTools.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/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 0badbba..2364d7e 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -23,8 +23,7 @@ #include <cmsys/Directory.hxx> #include <cmsys/System.h> #if defined(CMAKE_BUILD_WITH_CMAKE) -#include <cmlibarchive/libarchive/archive.h> -#include <cmlibarchive/libarchive/archive_entry.h> +# include <cm_libarchive.h> # include <cmsys/Terminal.h> #endif #include <cmsys/stl/algorithm> |