diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-18 21:33:34 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-18 21:33:34 -0700 |
| commit | 8ac84d70424742c0c3b65ed852a358f1d96d8e56 (patch) | |
| tree | f0f6ee26da5868308351f846d2e0a5c1e68877e1 /CMakeLists.txt | |
| parent | 8da1ec98c6d30b809ff09392ae2989a4de9ed71c (diff) | |
| download | nng-8ac84d70424742c0c3b65ed852a358f1d96d8e56.tar.gz nng-8ac84d70424742c0c3b65ed852a358f1d96d8e56.tar.bz2 nng-8ac84d70424742c0c3b65ed852a358f1d96d8e56.zip | |
Remove .version file -- we use git tags.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
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() |
