conanfile usage #823
Unanswered
forgottosave
asked this question in
Q&A
Replies: 1 comment
-
Thanks! I never used Conan. Alternatively, I see from the conan tutorial that you need to pass "-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake" for cmake to understand what conan setup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello :)
I have a question regarding the conanfile integration. I use the ftxui/5.0.0 requirement and implement it just like I do with GTest.
Error
After calling

conan install .. --build=missing
in the build directory everything works and allftxui[...].cmake
get placed in/build/Release/generators
(just like allGTest[...].cmake
files).Unfortunately
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=ON ..
results in the following error message:Do you have any idea, what I might have done wrong? Should there be a
Findftxui.cmake
, just like there is for GTest? Or is there any example-project using a conanfile with ftxui?I wasn't sure if I should create an issue for this, since it can be, that I'm just too confused to use it properly ;)
"Attachments"
important files & structures used (for clarification)

project structure
conanfile
CMakeLists.txt (top)
CMakeLists.txt (where ftxui is used)
Beta Was this translation helpful? Give feedback.
All reactions