cmake: provide PREFIX as shorthand for CMAKE_INSTALL_PREFIX
This commit is contained in:
parent
925c9452d0
commit
1f889a0108
|
@ -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} )
|
||||
|
|
Loading…
Reference in New Issue