cm_libarchive.h 898 B

12345678910111213141516171819202122232425
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2010 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cm_libarchive_h
  11. #define cm_libarchive_h
  12. /* Use the libarchive configured for CMake. */
  13. #include "cmThirdParty.h"
  14. #ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
  15. # include <archive.h>
  16. # include <archive_entry.h>
  17. #else
  18. # include <cmlibarchive/libarchive/archive.h>
  19. # include <cmlibarchive/libarchive/archive_entry.h>
  20. #endif
  21. #endif