diff --git a/cmake/compiler_commit_hash.cmake b/cmake/compiler_commit_hash.cmake index 7617a6df8..2978ac2df 100644 --- a/cmake/compiler_commit_hash.cmake +++ b/cmake/compiler_commit_hash.cmake @@ -13,7 +13,8 @@ execute_process( ) if (NOT ${ERROR_CODE} EQUAL 0) - message(FATAL_ERROR "Failed to capture compiler git commit.") + message(WARNING "Failed to capture compiler git commit at ${REPO_DIR}, error code return ${ERROR_CODE}") + set(CURRENT_COMMIT_HASH "") endif() set(LAST_COMMIT_HASH "")