Переглянути джерело

rewording "having no git revision" from warning to INFO

Holger Jeromin 9 роки тому
батько
коміт
a740695c78
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -19,13 +19,13 @@ if(GIT_FOUND)
     execute_process(COMMAND ${GIT_EXECUTABLE} describe --abbrev=7 --dirty --always --tags RESULT_VARIABLE res_var OUTPUT_VARIABLE GIT_COM_ID )
     if( NOT ${res_var} EQUAL 0 )
         set( GIT_COMMIT_ID "unknown--git-commit-id-unknown")
-        message( WARNING "Git failed (not a repo, or no tags). Build will not contain git revision info." )
+        message( INFO "Git failed (not a repo, or no tags). Build will not contain git revision info." )
     else()
         string( REPLACE "\n" "" GIT_COMMIT_ID ${GIT_COM_ID} )
     endif()
 else()
     set( GIT_COMMIT_ID "unknown--no-git-found")
-    message( WARNING "Git not found. Build will not contain git revision info." )
+    message( INFO "Git not found. Build will not contain git revision info." )
 endif()
 add_definitions("-DVERSION=${GIT_COMMIT_ID}")