From b03cd1ea5329a0e7e2e435de827108c7d00265b5 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 25 Oct 2014 16:39:39 +0300 Subject: Use BM_PLUGIN_VERSION for renderers. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 86f8b2e..db40db7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,14 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(bemenu) -INCLUDE(CTest) SET(BEMENU_NAME "bemenu") SET(BEMENU_DESCRIPTION "Dynamic menu library and client program inspired by dmenu") SET(BEMENU_VERSION "1.0.0") SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${bemenu_SOURCE_DIR}/CMake) +INCLUDE(CTest) +INCLUDE(GetGitRevisionDescription) +get_git_head_revision(GIT_REFSPEC GIT_SHA1) + # C99 ADD_DEFINITIONS(-std=c99) -- cgit v1.2.3-70-g09d2