Skip to content
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

CPM_DONT_UPDATE_MODULE_PATH has no effect when using CMake 3.24 #637

Open
robertmaynard opened this issue Jan 27, 2025 · 0 comments
Open

Comments

@robertmaynard
Copy link
Contributor

The CMAKE_FIND_PACKAGE_REDIRECTS_DIR is always defined by CMake 3.24+ so that results in CPM_MODULE_PATH always being an empty value since #604.

Which means that the file(WRITE ${CPM_MODULE_PATH}/Find${Name}.cmake won't work unless the CMake process has root permissions

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

No branches or pull requests

1 participant