소스 검색

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}")