8000 find_package doesn't find fesapi in Config mode · Issue #359 · F2I-Consulting/fesapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
find_package doesn't find fesapi in Config mode #359
Open
@untereiner

Description

@untereiner

What are the steps to reproduce this issue?

Trying to find fesapi using:
find_package(FesapiCpp REQUIRED CONFIG)

(Without the FindFesapiCpp.cmake)

What does happen?

Does not find the FesapiCppConfig.cmake

The error comes from the install path. The config files are written to ${CMAKE_INSTALL_LIBDIR}/cmake/fesapi

The config mode search paths are uses a name

In all cases the name is treated as case-insensitive and corresponds to any of the names specified (PackageName or names given by NAMES).

Then the files should be installed in the fesapicpp directory.

What were you expecting to happen?

should find the package

Any logs, error output, etc?

n.a.

Any other comments?

A quick fix is to use:
find_package(FesapiCpp REQUIRED CONFIG NAMES fesapi FesapiCpp)

What versions of fesapi are you using?

v2.12.2.1

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0