Changeset 2752 for code/trunk/cmake
- Timestamp:
- Mar 6, 2009, 3:15:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/LibraryConfigTardis.cmake
r2728 r2752 26 26 27 27 IF(UNIX AND NOT APPLE) 28 FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1) 29 IF(${HOSTNAME} MATCHES "^tardis-[a-z][0-9][0-9]$") 30 SET (TARDIS ON) 28 IF(EXISTS /etc/hostname) 29 FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1) 30 IF(${HOSTNAME} MATCHES "^tardis-[a-z][0-9][0-9]$") 31 SET (TARDIS ON) 32 ENDIF() 31 33 ENDIF() 32 34 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.