mirror of
https://github.com/novatiq/packages.git
synced 2026-04-28 14:48:39 +01:00
6e6740b0a5
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
19 lines
645 B
Diff
19 lines
645 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -231,14 +231,7 @@
|
|
set (LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Installation path for libraries")
|
|
|
|
# Make a version file containing the current version from git.
|
|
-include (GetGitRevisionDescription)
|
|
-git_describe (VERSION "--tags")
|
|
-# If git_describe fails, use a dirty version
|
|
-if (${VERSION} MATCHES -NOTFOUND)
|
|
- set (VERSION "v1.7.1")
|
|
+ set (VERSION "v2.0.0")
|
|
- message (WARNING "Failed to retrieve UPM version with 'git describe' (using "
|
|
- "${VERSION}). Check that git is installed and this is a valid git repo.")
|
|
-endif ()
|
|
|
|
message (STATUS "UPM Version ${VERSION}")
|
|
|