https://github.com/Kitware/CMake
Revision a8345d65f359d75efb057d22976cfb92b4d477cf authored by Matthew Woehlke on 15 August 2016, 18:42:22 UTC, committed by Brad King on 16 August 2016, 17:18:18 UTC
Add a new SOURCE_SUBDIR option to ExternalProject_Add that allows specifying the location of the CMakeLists.txt to use as the project root relative to the SOURCE_DIR. This is helpful for projects that have unusual layouts, or projects that provide both a superbuild and project-only build depending on which CMakeLists.txt is used. Fixes: #15118
1 parent f595131
Tip revision: a8345d65f359d75efb057d22976cfb92b4d477cf authored by Matthew Woehlke on 15 August 2016, 18:42:22 UTC
ExternalProject: Add SOURCE_SUBDIR option
ExternalProject: Add SOURCE_SUBDIR option
Tip revision: a8345d6
cm_zlib.h
/*============================================================================
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 cm_zlib_h
#define cm_zlib_h
/* Use the zlib library configured for CMake. */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_ZLIB
#include <zlib.h>
#else
#include <cmzlib/zlib.h>
#endif
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...