From 2fcd41323b0101b35f49b27a82e02469267989ee Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 28 Dec 2005 17:02:16 -0500 Subject: COMP: Fix complex test and fix bootstrap --- Source/cmSystemTools.cxx | 12 +++++++++--- Tests/Complex/Executable/CMakeLists.txt | 2 +- Tests/ComplexOneConfig/Executable/CMakeLists.txt | 2 +- Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 321c4b4..2377afb 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1359,12 +1359,15 @@ bool cmSystemTools::IsPathToFramework(const char* path) return false; } -#include -#include // auto_ptr -#include +#if defined(CMAKE_BUILD_WITH_CMAKE) +# include +# include // auto_ptr +# include +#endif bool cmSystemTools::CreateTar(const char* outFileName, const std::vector& files) { +#if defined(CMAKE_BUILD_WITH_CMAKE) TAR *t; char buf[TAR_MAXPATHLEN]; char pathname[TAR_MAXPATHLEN]; @@ -1413,4 +1416,7 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector