|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -106,12 +106,7 @@ endif()
|
|
set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH})
|
|
|
|
# Make a version file containing the current version from git.
|
|
-include (GetGitRevisionDescription)
|
|
-git_describe (VERSION "--tags")
|
|
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_-128-NOTFOUND")
|
|
- message (WARNING " - Install git to compile a production libmraa!")
|
|
- set (VERSION "v2.0.0")
|
|
-endif ()
|
|
+set (VERSION "v2.0.0")
|
|
|
|
message (STATUS "INFO - libmraa Version ${VERSION}")
|
|
message (STATUS "INFO - cmake Version ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}")
|