Open okaerin opened 1 year ago
It is fixed the conan recipe for the versions 1.8.0
and 1.8.2
. In time I will try to supply a permanent fix here too, so conan recipes don't require the patches for further versions anymore
It is fixed the conan recipe for the versions
1.8.0
and1.8.2
. In time I will try to supply a permanent fix here too, so conan recipes don't require the patches for further versions anymore
Thanks so much.
Describe the bug drogon cannot be built with wit sqlite support using the official conan recipe. A PR with the fix is placed conan-center-index but awaits approval. The issue is the custom FindSQLite3.cmake which is not used in the conan case and therefore the target
SQLite3_lib
is not created and thus not properly linking to sqlite3.To Reproduce Steps to reproduce the behavior:
conan install -r conancenter -pr:b default -b missing ..
Show build output
Expected behavior A successfully built and installed package
Additional context
conan recipe
```python from conan import ConanFile class Recipe(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "CMakeToolchain", "CMakeDeps", "VirtualRunEnv" default_options = { "drogon:with_ctl": True, "drogon:with_orm": True, "drogon:with_sqlite": True, } def layout(self): self.folders.generators = "conan" def requirements(self): self.requires("fmt/9.0.0") self.requires("drogon/1.8.2") def build_requirements(self): self.test_requires("catch2/3.0.1") def imports(self): self.copy("drogon_ctl",dst="packages/bin",src="bin", root_package="drogon") ```