diff options
author | Brad King <brad.king@kitware.com> | 2005-02-17 15:49:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-17 15:49:16 (GMT) |
commit | 0fd1c5d8091569e1a94b37b5388422d55ba222c9 (patch) | |
tree | 2ab149dd74f0a603b5bd1b702139ab31087ca712 /Source/kwsys/CMakeLists.txt | |
parent | 590ca038840ada98fa8c0879e87e05665e580b8e (diff) | |
download | CMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.zip CMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.tar.gz CMake-0fd1c5d8091569e1a94b37b5388422d55ba222c9.tar.bz2 |
ENH: Added try-compile KWSYS_STAT_HAS_ST_MTIM. This tests whether struct stat has the extra st_mtim member that has high resolution times.
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 7da17d0..48732d6 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -175,6 +175,11 @@ ELSE(KWSYS_IOS_USE_SSTREAM) ENDIF(KWSYS_IOS_USE_STRSTREAM_H) ENDIF(KWSYS_IOS_USE_SSTREAM) +IF(UNIX) + KWSYS_PLATFORM_CXX_TEST(KWSYS_STAT_HAS_ST_MTIM + "Checking whether struct stat has st_mtim member" DIRECT) +ENDIF(UNIX) + IF(KWSYS_NAMESPACE MATCHES "^kwsys$") SET(KWSYS_NAME_IS_KWSYS 1) ELSE(KWSYS_NAMESPACE MATCHES "^kwsys$") |