mirror of
https://github.com/reactos/CMake.git
synced 2024-11-26 04:50:24 +00:00
d4a9e334d3
Use the approach originally used in commit f91b3c1d
(Add options to
build with system utility libraries, 2006-10-19) for all other
third-party libraries. Create a "cm_bzlib.h" header wrapper that
robustly includes the header from the bzip2 library chosen for the CMake
build (either builtin or system version). Include the header wrapper
anywhere we need the API provided by <bzlib.h>.
24 lines
900 B
C
24 lines
900 B
C
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
See the License for more information.
|
|
============================================================================*/
|
|
#ifndef __cmThirdParty_h
|
|
#define __cmThirdParty_h
|
|
|
|
/* Whether CMake is using its own utility libraries. */
|
|
#cmakedefine CMAKE_USE_SYSTEM_CURL
|
|
#cmakedefine CMAKE_USE_SYSTEM_EXPAT
|
|
#cmakedefine CMAKE_USE_SYSTEM_ZLIB
|
|
#cmakedefine CMAKE_USE_SYSTEM_BZIP2
|
|
#cmakedefine CMAKE_USE_SYSTEM_LIBARCHIVE
|
|
#cmakedefine CTEST_USE_XMLRPC
|
|
|
|
#endif
|