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

CMake files not installed in same lib directory #273

Closed
tcraigtyler opened this issue Feb 11, 2020 · 0 comments
Closed

CMake files not installed in same lib directory #273

tcraigtyler opened this issue Feb 11, 2020 · 0 comments
Assignees
Labels

Comments

@tcraigtyler
Copy link
Contributor

tcraigtyler commented Feb 11, 2020

SQLiteCpp 3.0.0, RHEL 7.7 x86_64, CMake 3.14.6

make install creates cmake files in both lib/cmake and lib64/cmake directories:

-- Installing: /usr/local/lib64/cmake/SQLiteCpp/SQLiteCppTargets.cmake
-- Installing: /usr/local/lib64/cmake/SQLiteCpp/SQLiteCppTargets-noconfig.cmake
-- Installing: /usr/local/lib/cmake/SQLiteCpp/SQLiteCppConfig.cmake
-- Installing: /usr/local/lib/cmake/SQLiteCpp/SQLiteCppConfigVersion.cmake

Trying to use find_package(SQLiteCpp) then results in the following error message:

-- Found SQLite3: /usr/local/include (found version "3.30.1") 
CMake Error at /usr/local/lib/cmake/SQLiteCpp/SQLiteCppConfig.cmake:30 (include):
  include could not find load file:

    /usr/local/lib/cmake/SQLiteCpp/SQLiteCppTargets.cmake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants