summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d33b761..9c156fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,15 +15,15 @@ execute_process(COMMAND git describe --tags WORKING_DIRECTORY ${CMAKE_CURRENT_SO
OUTPUT_VARIABLE DAEMONVERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)
+IF (DAEMON_ERROR)
+ SET( DAEMONVERSION "homebrew-${CMAKE_SOURCE_DIR}" )
+ENDIF(DAEMON_ERROR)
+
message(STATUS "Build Version ${DAEMONVERSION}")
execute_process(COMMAND git log --pretty=short WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG)
-IF(NOT DEFINED CMAKE_CURRENT_SOURCE_DIR)
- SET( CMAKE_CURRENT_SOURCE_DIR "homebrew-${CMAKE_SOURCE_DIR}" )
-ENDIF(NOT DEFINED CMAKE_CURRENT_SOURCE_DIR)
-
PROJECT(AudioManagerDeamon)
OPTION( WITH_DBUS_WRAPPER