From 4a57c912b91b6bfca5441ec9312e4159a3993194 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Fri, 17 Oct 2008 12:52:03 -0400
Subject: [PATCH] BUG: Fix KWSys SystemInformation dependencies

The SystemInformation component of KWSys requires Process and
FundamentalType.
---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82f38bb..2c64055 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -167,6 +167,10 @@ ENDIF(KWSYS_USE_Glob)
 IF(KWSYS_USE_Process)
   SET(KWSYS_USE_System 1)
 ENDIF(KWSYS_USE_Process)
+IF(KWSYS_USE_SystemInformation)
+  SET(KWSYS_USE_FundamentalType 1)
+  SET(KWSYS_USE_Process 1)
+ENDIF(KWSYS_USE_SystemInformation)
 
 # Setup the large file support default.
 IF(KWSYS_LFS_DISABLE)
-- 
GitLab