Upgrade Cable to 0.2.13

This commit is contained in:
Alex Beregszaszi 2018-09-06 13:04:58 +01:00
commit bff66a17c5
3 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ macro(cable_configure_compiler)
cmake_parse_arguments(cable "NO_CONVERSION_WARNINGS;NO_STACK_PROTECTION" "" "" ${ARGN})
if(cable_UNPARSED_ARGUMENTS)
message(FATAL_ERROR "cable_configure_compiler: Uknown options: ${cable_UNPARSED_ARGUMENTS}")
message(FATAL_ERROR "cable_configure_compiler: Unknown options: ${cable_UNPARSED_ARGUMENTS}")
endif()
# Set helper variables recognizing C++ compilers.

View File

@ -8,11 +8,11 @@
# Cable version.
#
# This is internal variable automaticaly updated with external tools.
# This is internal variable automatically updated with external tools.
# Use CABLE_VERSION variable if you need this information.
set(version 0.2.11)
set(version 0.2.13)
# For conveniance, add the project CMake module dir to module path.
# For convenience, add the project CMake module dir to module path.
set(module_dir ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
if(EXISTS ${module_dir})
list(APPEND CMAKE_MODULE_PATH ${module_dir})
@ -24,7 +24,7 @@ if(CABLE_VERSION)
# Compare versions of the top project and this instances.
if(CABLE_VERSION VERSION_LESS version)
set(severity WARNING)
set(comment "vesion older than ${version}")
set(comment "version older than ${version}")
elseif(CABLE_VERSION VERSION_EQUAL version)
set(severity STATUS)
set(comment "same version")

View File

@ -5,7 +5,7 @@
# Execute git only if the tool is available.
if(GIT)
execute_process(
COMMAND ${GIT} describe --always --long --tags --match=v* --abbrev=40 --dirty
COMMAND ${GIT} describe --always --long --tags --first-parent --match=v* --abbrev=40 --dirty
WORKING_DIRECTORY ${SOURCE_DIR}
OUTPUT_VARIABLE gitinfo
OUTPUT_STRIP_TRAILING_WHITESPACE