Skip to content

Conversation

@robertosfield
Copy link
Contributor

No description provided.

Added extra --sd maxShadowDistance control for shadow maps to worldviewer command line.
…_package first then if that fails resort to FetchContext.
@timoore
Copy link
Owner

timoore commented Oct 20, 2023

The FIND_PACKAGE_ARGS forms in FetchContent_Declare are supposed to take care of this, but that's a new feature of CMake 3.24. I know that I just accepted a PR to support CMake 3.22; at some point I want to move on. As I understand it, the issue is that Ubuntu 22 officially only supports CMake 3.22; is it onerous to use a package manager, e.g., snap, to install a newer version of CMake?

@robertosfield
Copy link
Contributor Author

I didn't know that the FIND_PACKAGE_ARGS was able to trigger a find_package instead of pulling down the repo, thanks for the tip.

I just pull in cmake from apt-get so the debian style repo rather than snap. Ubuntu 22.04 is still the last long term support version of Ubuntu so will be the one many Linux devs will be on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants