Skip to content

Commit

Permalink
chore: update CMake-configured files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 12, 2024
1 parent e21b745 commit a923618
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeEssentialConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(CMakeEssential_VERSION 1.0.3.1)
set(CMakeEssential_VERSION 1.0.3.2)


####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
Expand Down
6 changes: 3 additions & 3 deletions CMakeEssentialConfigVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
# The variable CVF_VERSION must be set before calling configure_file().


set(PACKAGE_VERSION "1.0.3.1")
set(PACKAGE_VERSION "1.0.3.2")

if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()

if("1.0.3.1" MATCHES "^([0-9]+)\\.")
if("1.0.3.2" MATCHES "^([0-9]+)\\.")
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
endif()
else()
set(CVF_VERSION_MAJOR "1.0.3.1")
set(CVF_VERSION_MAJOR "1.0.3.2")
endif()

if(PACKAGE_FIND_VERSION_RANGE)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include("include/Policies.cmake")
include("include/Project.cmake")

# This project can be used via 'git subtree' or copy&paste, where git cannot provide the version number.
set(PROJECT_VERSION "1.0.3.1")
set(PROJECT_VERSION "1.0.3.2")

project(
CMakeEssential
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:author: Max FERGER
// Metadata:
:description: Essential CMake snippets for software development with modern CMake
:revnumber: 1.0.3.1
:revnumber: 1.0.3.2
// References:
:url-repo: https://github.com/UnePierre/cmake-essential
:url-issues: {url-repo}/-/issues
Expand Down

0 comments on commit a923618

Please sign in to comment.