cmake: provide PREFIX as shorthand for CMAKE_INSTALL_PREFIX

This commit is contained in:
Michael Gehring 2008-06-20 12:42:46 +02:00
parent 925c9452d0
commit 1f889a0108
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ IF(ASCIIDOC_EXECUTABLE AND XMLTO_EXECUTABLE AND GZIP_EXECUTABLE)
ENDIF()
# Set awesome informations and path
IF(DEFINED PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX})
ENDIF()
SET(AWESOME_VERSION_INTERNAL devel )
SET(AWESOME_COMPILE_MACHINE ${CMAKE_SYSTEM_PROCESSOR} )
SET(AWESOME_COMPILE_HOSTNAME $ENV{HOSTNAME} )