Skip to content

Commit b99a14a

Browse files
authored
Change --prefix to --preset
Cmake preset and prefix are not the same. To load a preset, one has to use e.g. `--preset=default`, not `--prefix=detault`. Prefix is used in the `cmake --install` process to change where the files are copied during installation (not needed here).
1 parent 33d4547 commit b99a14a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ cd build
102102
#### CMakeUserPresets
103103
In the root IPPL source folder, there is a cmake user presets file which can be used to set some default cmake settings, they may be used in the following way
104104
```
105-
cmake --prefix=release-testing ...
105+
cmake --preset=release-testing ...
106106
```
107107
This will set the following variables automatically (exact values may change over time)
108108
```

0 commit comments

Comments
 (0)