Skip to content

Commit eedcda6

Browse files
committed
Fix CMake installation instructions in LAPACK README
The `CMAKE_INSTALL_LIBDIR` was used here from the command line, probably accidentally. It is a variable provided by the core CMake module GNUInstallDirs and shouldn't be overridden. The variable, that makes sense in this context is the `CMAKE_INSTALL_PREFIX` variable, which is intended to be set by the user.
1 parent 157f602 commit eedcda6

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
@@ -79,7 +79,7 @@ CBLAS, a C interface to the BLAS, and (5) LAPACKE, a C interface to LAPACK.
7979
```sh
8080
mkdir build
8181
cd build
82-
cmake -DCMAKE_INSTALL_LIBDIR=$HOME/.local/lapack ..
82+
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/lapack ..
8383
cmake --build . -j --target install
8484
```
8585
- LAPACK can be built and installed using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:

0 commit comments

Comments
 (0)