summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-27 21:07:14 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-27 21:07:14 (GMT)
commit4a40fe43e3952bc516831aea7c0e4270923a22a8 (patch)
treec32f0b1f4d6ca6eeed81e8c37de968bb5bef7ca6 /Source/kwsys/CMakeLists.txt
parente840a9dff31ef7682e698f78edc5c9e06f79834c (diff)
downloadCMake-4a40fe43e3952bc516831aea7c0e4270923a22a8.zip
CMake-4a40fe43e3952bc516831aea7c0e4270923a22a8.tar.gz
CMake-4a40fe43e3952bc516831aea7c0e4270923a22a8.tar.bz2
ENH: Added CPU.h to KWSys to identify the target CPU and its byte order.
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index cd6e633..0bedc61 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -138,6 +138,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
SET(KWSYS_USE_DateStamp 1)
SET(KWSYS_USE_String 1)
SET(KWSYS_USE_SystemInformation 1)
+ SET(KWSYS_USE_CPU 1)
ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Setup the large file support default.
@@ -651,7 +652,9 @@ FOREACH(cpp ${cppclasses})
ENDFOREACH(cpp)
# Add selected C components.
-FOREACH(c Process Base64 FundamentalType MD5 Terminal System DateStamp String)
+FOREACH(c
+ Process Base64 FundamentalType MD5 Terminal System DateStamp String CPU
+ )
IF(KWSYS_USE_${c})
# Use the corresponding header file.
SET(KWSYS_H_FILES ${KWSYS_H_FILES} ${c})