This repository has been archived by the owner on Apr 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
cmake not prioritising user installation of FlyCapture2 #14
Comments
Remove your build folder and do it again? |
After deleting Snippet of the result is:
From what I get, it wasn't a cache issue. |
did you also delete the build folder? |
I hadn't previously. Did now. Same result. Do you want me to provide you with some output for bug tracking? |
I tried myself, got the same result. For now you can just add NO_DEFAULT_PATH to find_path call in FindFlyCapture2.cmake to force local flycapture |
Thanks for confirming it. I tried NO_DEFAULT_PATH and it doesn't seem to do anything, but I don't believe it's your fault.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello Chao,
After our yesterday's chat, I delved a little deeper into FindFlyCapture2.cmake.
I saw that there should be a priority to the user installation of the library, which in fact you include inside the files of this repo.
However, each time I compile, I get the message
probably because I had already an active installation of PtGrey's SDK in my system.
I tried enforcing the local path by using the
NO_DEFAULT_PATH
option in thefind_path
andfind_library
commands, but it didn't seem to do anything.In the end, I commented out all the conditional code and set the paths manually to local, e.g.
It's not a function-breaking bug, but it doesn't allow you to NOT use the system libraries for this package.
Looking forward to hearing what you think of this.
The text was updated successfully, but these errors were encountered: