-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
library integration with fetch_content throws at submodule update #1099
Comments
@Alex-dev02 dunno. I need help of folks here |
Also, sorry for bothering. I know this is not related to this issue, but what else do I have to do in order to use the library along with cmake and find_package, beside adding sqlite3 to path? |
Actually I don't know how |
https://stackoverflow.com/a/41642102/1927176 point 2 from here looks perfect for your case and doesn't use |
@Alex-dev02 As for your other question how to use sqlite_orm with cmake. First of all, you can of course use a C++ library package manager like vcpkg, and take it from there. Otherwise, when you build and install sqlite_orm, packaging/CMakeLists.txt copies cmake/SqliteOrmConfig.cmake.in to cmake's package directory. Then it should be just a matter of using the right targets. This is the output of vcpkg after installing the sqlite-orm port:
BTW, there's also great documentation available on how finding packages works. |
Hi! I tried to replicate the installation process from examples/fetch_content, but with a few modifications which I find nonrelatable to my problem (but if someone thinks they are necessary, I will update my issue, but all I have done was to modify the hierarchy of the folder a little bit).
When I try to run cmake configure, it throws the following error (I am running the build on windows 10 btw):
How may I fix it?
The text was updated successfully, but these errors were encountered: