* [GAM-39] fixed bug in build system
-/**
+/*
* Copyright (C) 2012, BMW AG
*
* This file is part of GENIVI Project AudioManager.
the "other end" of the gateway might be unknown. To handle this situation, a domain can "peek" Domains, Sources and Sinks. When
something is peeked, it means that an ID is reserved for a unique name without registering it.\n
If a gateway is deregistered, the source or sink of the controlling domain is deregistered as well - not the one in the "other" domain.
-*/
\ No newline at end of file
+*/
OUTPUT_VARIABLE DAEMONVERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
-IF (DAEMON_ERROR)
+IF (NOT DAEMONVERSION)
SET( DAEMONVERSION "homebrew-${CMAKE_SOURCE_DIR}" )
-ELSE (DAEMON_ERROR)
+ELSE (NOT DAEMONVERSION)
STRING(REGEX REPLACE "(-)[^-]+$" "" DAEMONVERSION ${DAEMONVERSION})
STRING(REGEX REPLACE "-" "." DAEMONVERSION ${DAEMONVERSION})
-ENDIF(DAEMON_ERROR)
+ENDIF(NOT DAEMONVERSION)
message(STATUS "Build Version ${DAEMONVERSION}")