From 8ac84d70424742c0c3b65ed852a358f1d96d8e56 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 18 Mar 2018 21:33:34 -0700 Subject: Remove .version file -- we use git tags. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index bf96d157..6cb8f95b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,10 +80,6 @@ elseif (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") set (NNG_PACKAGE_VERSION "${NNG_PACKAGE_VERSION}-dirty") endif() -elseif (EXISTS ${PROJECT_SOURCE_DIR}/.version) - # If git is not available (e.g. when building from source package) - # we can extract the package version from .version file. - file (STRINGS .version NNG_PACKAGE_VERSION) else () set (NNG_PACKAGE_VERSION "Unknown") endif() -- cgit v1.2.3-70-g09d2