Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sqlite-orm] cannot find package #10141

Closed
algobot76 opened this issue Feb 19, 2020 · 1 comment · Fixed by #12999
Closed

[sqlite-orm] cannot find package #10141

algobot76 opened this issue Feb 19, 2020 · 1 comment · Fixed by #12999
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist

Comments

@algobot76
Copy link

algobot76 commented Feb 19, 2020

Host Environment

  • OS: mac 10.15
  • Compiler: clang 11

To Reproduce
Steps to reproduce the behavior:

  • Run ./vcpkg install sqlite-orm
  • Add find_package(sqlite_orm CONFIG REQUIRED) to CMakeLists.txt
  • Run cmake

Failure logs

 Could not find a package configuration file provided by "sqlite_orm" with
  any of the following names:

    sqlite_ormConfig.cmake
    sqlite_orm-config.cmake

  Add the installation prefix of "sqlite_orm" to CMAKE_PREFIX_PATH or set
  "sqlite_orm_DIR" to a directory containing one of the above files.  If
  "sqlite_orm" provides a separate development package or SDK, be sure it has
  been installed.
@algobot76 algobot76 added the category:port-bug The issue is with a library, which is something the port should already support label Feb 19, 2020
@algobot76 algobot76 changed the title [sqlite-orm] build failure [sqlite-orm] cannot find package Feb 19, 2020
@NancyLi1013 NancyLi1013 added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist and removed category:port-bug The issue is with a library, which is something the port should already support labels Feb 20, 2020
@NancyLi1013
Copy link
Contributor

NancyLi1013 commented Feb 21, 2020

Hi @algobot76

Thanks for posting this issue.
Since there are no exported CMake files generated by sqlite-orm now.
So we cannot use find_package(sqlite_orm CONFIG REQUIRED) to find this library.
Maybe you can use find_path() and find_library() to find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants