@ -22,7 +22,7 @@ project(cmkr
LANGUAGES
CXX
VERSION
0.2.23
0.2.24
DESCRIPTION
"CMakeLists generator from TOML"
)
@ -4,7 +4,7 @@ cmkr-include = false
[project]
name = "cmkr"
version = "0.2.23"
version = "0.2.24"
description = "CMakeLists generator from TOML"
languages = ["CXX"]
include-after = [
@ -2,7 +2,7 @@ include_guard()
# Change these defaults to point to your infrastructure if desired
set(CMKR_REPO "https://github.com/build-cpp/cmkr" CACHE STRING "cmkr git repository" FORCE)
set(CMKR_TAG "v0.2.23" CACHE STRING "cmkr git tag (this needs to be available forever)" FORCE)
set(CMKR_TAG "v0.2.24" CACHE STRING "cmkr git tag (this needs to be available forever)" FORCE)
set(CMKR_COMMIT_HASH "" CACHE STRING "cmkr git commit hash (optional)" FORCE)
# To bootstrap/generate a cmkr project: cmake -P cmkr.cmake
@ -780,7 +780,6 @@ const Project *Project::root() const {
bool Project::cmake_minimum_version(int major, int minor) const {
// NOTE: this code is like pulling teeth, sorry
auto root_version = root()->cmake_version;
puts(root_version.c_str());
auto range_index = root_version.find("...");
if (range_index != std::string::npos) {
root_version.resize(range_index);