Closed taodongl closed 1 year ago
done with INCLUDE_DIRECTORIES(${CMAKE_INCLUDE_PATH})
another solution:
conanfile.txt
[requires]
drogon/1.8.3
trantor/1.5.8 ### explicit dependency of drogon though our app needn't it.
jsoncpp/1.9.5 ### explicit dependency of drogon though our app needn't it.
[generators]
CMakeDeps
CMakeToolchain
Notice my project copies from example of "drogon" repository, and I use conan 2 to manage dependencies ("drogon" is static library). But I can't built it. because it can't find header files of "trantor"
Describe the bug
To Reproduce
conanfile.txt
CMakeLists.txt
Desktop (please complete the following information):