Selaa lähdekoodia

rewording "having no git revision" from warning to INFO

Holger Jeromin 9 vuotta sitten
vanhempi
commit
a740695c78
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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}")