Skip to content

Fix CMAKE_INSTALL_PREFIX init behavior on Win32.#129

Merged
evetsso merged 1 commit into
ROCm:developfrom
ScottTodd:win32-install-prefix-develop
Apr 17, 2025
Merged

Fix CMAKE_INSTALL_PREFIX init behavior on Win32.#129
evetsso merged 1 commit into
ROCm:developfrom
ScottTodd:win32-install-prefix-develop

Conversation

@ScottTodd
Copy link
Copy Markdown
Member

Per the guidance at https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT.html, CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT can be "used by project code to change the default without overriding a user-provided value".

This allows users and integration projects like https://github.com/ROCm/TheRock to set an install path of their choosing while still defaulting to this project's preferred value if the value is not already set. For more context, see ROCm/TheRock#340.

@ScottTodd
Copy link
Copy Markdown
Member Author

Thanks for approving! Should I merge this myself with squash and merge, or do you want to do that yourself?

https://github.com/ROCm/hipFFT/blob/develop/.github/CONTRIBUTING.md#process

@evetsso
Copy link
Copy Markdown
Contributor

evetsso commented Apr 9, 2025

We'll merge this but we've got a couple of other internal tasks to take care of first.

@evetsso evetsso merged commit 7eaa1d5 into ROCm:develop Apr 17, 2025
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.

6 participants