From 15097cf35f660ed3865f60e70201e5d902b46b2d Mon Sep 17 00:00:00 2001
From: Andy Cedilnik <andy.cedilnik@kitware.com>
Date: Fri, 25 Jun 2004 14:04:48 -0400
Subject: [PATCH] ENH: Build expat as a part of default build

---
 CMakeLists.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35b645f0a5..c8836dc634 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,9 +57,16 @@ SET(KWSYS_USE_Process 1)
 SET(KWSYS_HEADER_ROOT ${CMake_BINARY_DIR}/Source)
 SUBDIRS(Source/kwsys)
 
+#-----------------------------------------------------------------------------
+# Build Curl library for CTest.
 SET(CMAKE_BUILD_WITH_CURL 1)
 SUBDIRS(Source/CTest/Curl)
 
+#-----------------------------------------------------------------------------
+# Build expat library for CMake and CTest.
+INCLUDE_DIRECTORIES(${CMake_BINARY_DIR}/Utilities)
+SUBDIRS(Utilities/cmexpat)
+
 IF (UNIX)
   INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL)
   IF (CURSES_LIBRARY)
-- 
GitLab