[package] sqlite3/all: how to use components to mimic findSQLite3 and imported target SQLite::SQLite3
See original GitHub issueAccording to CMake documentation https://cmake.org/cmake/help/v3.14/module/FindSQLite3.html:
- namespace of sqlite3 is
SQLite
(imported target isSQLite::SQLite3
) - we have to use
find_package(SQLite3)
conan components doesn’t seem to provide a way to handle this case.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
FindSQLite3 — CMake 3.25.1 Documentation
This module defines the following IMPORTED target: ... where to find sqlite3.h, etc. SQLite3_LIBRARIES. the libraries to link against to use SQLite3.
Read more >In CMake, how can I find the imported target after calling ...
If I have a library, ABCD which I can get using find_package , provided CMake can locate a suitable ABCDConfig.cmake file. It then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be the last mile needed fo this transparent integration: https://github.com/conan-io/conan/issues/7254
And then something like
This issue can be closed, sqlite3 recipe now properly mimics official sqlite3 imported target and module filename.