Commit 98569770 authored by François Grisez's avatar François Grisez
Browse files

bc_compute_full_version(): fix issue in error message witch is displayed when...

bc_compute_full_version(): fix issue in error message witch is displayed when project and git versions doesn't match
parent ac254b16
......@@ -195,7 +195,7 @@ function(bc_compute_full_version OUTPUT_VERSION)
set(short_git_version "${version_major}.${version_minor}")
set(short_project_version "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
if(NOT (short_project_version VERSION_EQUAL short_git_version))
message(FATAL_ERROR "project and git version are not compatible (project: '${PROJECT_VERSION}', git: '${output_version}')")
message(FATAL_ERROR "project and git version are not compatible (project: '${PROJECT_VERSION}', git: '${full_version}')")
endif()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment