Skip to content

CMakeLists VERSION mismatch causes steam compilation failure #59

@Ericsii

Description

@Ericsii

Description

I'm trying to build and package lgmath and steam into conda packages https://github.com/Ericsii/steam-feedstock. But when attempting to compile the latest verision steam, the build process fails due to a version mismatch in the lgmath library's CMake configuration.

set(PROJECT_VERSION 1.1.0)

From the above line the PROJECT_VERSION is still 1.1.0, which mismatch the current version number.

Here's the error Log

CMake Error at CMakeLists.txt:45 (find_package):
  Could not find a configuration file for package "lgmath" that is compatible
  with requested version "3.0.0".
  The following configuration files were considered but not accepted:
    $PREFIX/lib/cmake/lgmath/lgmathConfig.cmake, version: 1.1.0
    /usr/local/lib/cmake/lgmath/lgmathConfig.cmake, version: 1.1.0

Expected Fix

Update the VERSION variable in lgmath's CMakeLists.txt to 3.0.0 (or the latest released version) so that the generated lgmathConfig.cmake file reports the correct version. This will resolve the version mismatch during Steam's build process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions