Commit f4825db
Fix CMAKE_INSTALL_PREFIX to respect user-specified values
The previous code unconditionally set CMAKE_INSTALL_PREFIX, which
overrode any command-line -DCMAKE_INSTALL_PREFIX=... settings.
This caused Docker builds to install to the wrong directory.
Now uses CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT to only set
the default when the user hasn't specified a custom install prefix.1 parent 582e649 commit f4825db
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments