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

Don't set CMAKE_INSTALL_<dir>. #46061

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Don't set CMAKE_INSTALL_<dir>. #46061

merged 1 commit into from
Aug 19, 2022

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jul 16, 2022

It confuses GNUInstallDirs on Windows (both locally, and on CI), breaking LLVM source builds.

According to the docs, https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#module:GNUInstallDirs,
it should be a relative path that will automatically be prefixed wit the CMAKE_INSTALL_PREFIX (which
we already set). That means the default values, https://cmake.org/cmake/help/latest/command/install.html,
should work just fine.

According to the docs, https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#module:GNUInstallDirs,
it should be a relative path that will automatically be prefixed wit the CMAKE_INSTALL_PREFIX (which
we already set). That means the default values, https://cmake.org/cmake/help/latest/command/install.html,
should work just fine.
@maleadt maleadt added the building Build system, or building Julia or its dependencies label Jul 16, 2022
@maleadt maleadt marked this pull request as ready for review July 16, 2022 06:10
@KristofferC
Copy link
Member

Can be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants