cmake: use $HOSTNAME and $USER for COMPILE_{BY,HOSTNAME}

This commit is contained in:
Michael Gehring 2008-06-17 20:34:48 +02:00 committed by Julien Danjou
parent c5012826d5
commit 08ad77d94c
1 changed files with 2 additions and 2 deletions

View File

@ -112,8 +112,8 @@ ENDIF( ASCIIDOC_EXECUTABLE AND XMLTO_EXECUTABLE AND GZIP_EXECUTABLE )
# Set awesome informations and path # Set awesome informations and path
SET( AWESOME_VERSION_INTERNAL devel ) SET( AWESOME_VERSION_INTERNAL devel )
SET( AWESOME_COMPILE_MACHINE ${CMAKE_SYSTEM_PROCESSOR} ) SET( AWESOME_COMPILE_MACHINE ${CMAKE_SYSTEM_PROCESSOR} )
SET( AWESOME_COMPILE_HOSTNAME ${CMAKE_SYSTEM_NAME} ) SET( AWESOME_COMPILE_HOSTNAME $ENV{HOSTNAME} )
SET( AWESOME_COMPILE_BY ${CMAKE_C_COMPILER} ) SET( AWESOME_COMPILE_BY $ENV{USER} )
SET( AWESOME_RELEASE ${VERSION} ) SET( AWESOME_RELEASE ${VERSION} )
SET( AWESOME_ETC ${CMAKE_INSTALL_PREFIX}/etc ) SET( AWESOME_ETC ${CMAKE_INSTALL_PREFIX}/etc )
SET( AWESOME_SHARE ${CMAKE_INSTALL_PREFIX}/share ) SET( AWESOME_SHARE ${CMAKE_INSTALL_PREFIX}/share )