cmake: use $HOSTNAME and $USER for COMPILE_{BY,HOSTNAME}
This commit is contained in:
parent
c5012826d5
commit
08ad77d94c
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue