-
Notifications
You must be signed in to change notification settings - Fork 37
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
Please remove NO_DEFAULT_PATH from 'find_package(Ascent REQUIRED NO_DEFAULT_PATH)' #1169
Comments
We've been following the Ascent recommendation, see https://ascent.readthedocs.io/en/latest/QuickStart.html#using-ascent-in-your-project Also, I'm not even sure there's a "standard" location per se as I'm not aware of any system were Ascent is installed under a, say, Does this cause any issue on your end? Maybe we can fix those in a different way. |
The standard location is /usr/local/lib/cmake (among several others).
Yes, the Ascent package isn't found when NO_DEFAULT_PATH is present. |
It is very likely that the ascent developers recommend |
Yes, that sounds like a good path forward. |
Now that I wrote it: From the point of packaging is there any issue with setting |
No vars need to be set by default. find_package should just find the package in the standard location. |
I just went ahead and submitted an MR. #1171. |
@yurivict with this change you should be able to just set |
here
It prevents cmake from finding the ascent package installed into a standard location.
The text was updated successfully, but these errors were encountered: