From 22899d096f4e8d7e3df9328028b80229e5b077e2 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Mon, 6 Jul 2009 01:02:44 +0200 Subject: [PATCH] CMake: Version Setting (Year-Month) by the dev.. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ccc67ba..60d20ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,9 +46,8 @@ set(wmfs_src # Set the executable from the wmfs_src add_executable(wmfs ${wmfs_src}) -# Set the version - Get YEAR and MONTH (YYYYmm) -EXEC_PROGRAM("date '+%Y%m'" OUTPUT_VARIABLE YEAR_MONTH) -set(VERSION "WMFS-${YEAR_MONTH}") +# Set the version +set(VERSION "WMFS-200907") # FLAGS set(CFLAGS "-g -Wall -ansi")