Skip to content

How to install the lib ? #575

@tetsuhaut

Description

@tetsuhaut

Until recently (something like version 2.0.2), when building the lib, it was possible to install it using ninja install
With the 2.1.1 version, ninja install doesn't work as there is no install target anymore.
The consequence is that because the lib is not installed, in my CMakeLists.txt file the instruction find_package(stlab 2.1.1 REQUIRED) produces the error

CMake Error at CMakeLists.txt:254 (find_package):
  By not providing "Findstlab.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "stlab", but
  CMake did not find one.

  Could not find a package configuration file provided by "stlab" (requested
  version 2.1.1) with any of the following names:

    stlabConfig.cmake
    stlab-config.cmake

  Add the installation prefix of "stlab" to CMAKE_PREFIX_PATH or set
  "stlab_DIR" to a directory containing one of the above files.  If "stlab"
  provides a separate development package or SDK, be sure it has been
  installed.

Looking in the lib build dir, there is no such file. What are we supposed to do in order to use this library?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions