-
Notifications
You must be signed in to change notification settings - Fork 770
Description
Describe the bug
The sqlite3.h header is not found on Windows. Although I haven't tried, after taking a look at the CMakeLists.txt file and the conan_build.cmake file, I predict it won't be found also on Linux if SQLite3 is installed in a non-standard path (e.g. not /usr/include, /usr/local/include, etc).
How to Reproduce
Just try to build BT.CPP on Windows following the instructions for Conan. If you want to try on Linux (haven't done it myself), try to reproduce the build steps with sqlite3 in a non-standard path (i.e. a path the compiler doesn't search by default).
Proposed solution
Fortunately, I don't come just with a problem, but also with a solution :)
Fixing this issue is as easy as adding
list(APPEND BTCPP_EXTRA_INCLUDE_DIRS ${SQLite3_INCLUDE_DIRS})
after line 12 in conan_build.cmake. I can build BT.CPP just fine after that.