diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index d02dd0f9..93b32efe 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -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} )