Skip to content

Wrong project version in 2.4.0 release #110

@GiulioRomualdi

Description

@GiulioRomualdi

I noticed that in the release 2.4.0 the cmake project version is 2.3.1

project(tomlplusplus LANGUAGES CXX VERSION 2.3.1)

This is actually a problem when cmake find_package method is used in a consumer library.

Indeed

find_package(tomlplusplus 2.4.0 REQUIRED)

will fail with an error similar to this one

  Could not find a configuration file for package "tomlplusplus" that is
  compatible with requested version "2.4.0".

  The following configuration files were considered but not accepted:

    /usr/share/miniconda/envs/test/lib/cmake/tomlplusplus/tomlplusplusConfig.cmake, version: 2.3.1

On the latest master 4f21332 the version is correct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcmakeIssues relating to cmake.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions