[SOLVED] cmake issue related to SQLite when building v4.5.1 #1126
Bro-Account
started this conversation in
General
Replies: 1 comment 1 reply
-
rssguard/src/librssguard/CMakeLists.txt Line 522 in f6b89bd Compile with that option explicitly set to OFF. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have some issues again compiling the new version. I was successfully able to compile and run it on my
Ubuntu 23.04 (Raspberry)
cmake 3.25.1
sqlite3 3.40.1
after installing libsqlite3-dev. But the same procedure doesn't work on my
Raspberry PI OS
Debian GNU/Linux 11 (bullseye)
cmake 3.18.4
sqlite3 3.34.1
On the reference installation, I get an additional "Found SQLite3" line at the output, that I don't get with Raspberry PI OS.
I checked for the /usr/include/sqlite3.h file, which is there.
I checked the CMakeLists code. I found this part.
Even though there is no "Found" message, the result should still be positive, otherwise it would not go into the following if block.
The actual error happens at this point ("target_include_directories called with invalid arguments") and is probably related to ${SQLite3_INCLUDE_DIRS}.
Here I'm stuck with my troubleshooting. I tried to change the option in the CMakeLists.txt file to
option(USE_SYSTEM_SQLITE "Use system-wide SQLite3 library." OFF)
but weirdly, I still get the same result, including
Using system SQLite3 3.34.1.
Any ideas what might be the issue?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions