-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find_program working when building from command line, but not when using the CLion Conan plugin #624
Comments
Hi @rturrado Thanks for your report. I am not sure what would be the difference. What command line without CLion are you using? The main difference could be if using the If you are using |
Hi @memsharded , Thanks for your quick reply. For the command line, I'm just building with
|
That explains the behavior. The So this would be a To reproduce, you can run in the command line with I am moving this to |
@jcar87 maybe we want to consider adding |
Actually, I also do Excuse me, how can I pass that |
It is not passed to Conan, but to |
Well, this command line indeed reproduces the issue:
I basically copied what I had in the CLion CMake settings (see screenshot attached), and added the Thanks for your help @memsharded ! |
Yes, exactly, the CLion plugin uses the |
Many thanks guys! Great work. I also noticed (quite some time ago) that you had fixed another issue I was experiencing with the CLion Conan plugin (the one that forced you to comment out the |
Indeed we have :) Thanks for reporting these things - little by little this integration is proving to be robust :D |
Hi there!
I have this project, libqasm, which is doing:
at
conanfile.py
. Later on, atCMakeLists.txt
, it tries to find a package, and a binary exported by that package:The logs show that the package is found, but not the binary:
However, the binary is correctly found when building from the command line.
These are my CMake options (CLion > CMake tab > Settings):
May I be missing something from the CLion Conan configuration, a path where to search for the executable or something?
Many thanks!
The text was updated successfully, but these errors were encountered: