diff --git a/doc/installation.md b/doc/installation.md index 41521bba5..e9c5b2e6e 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -211,10 +211,13 @@ this you type Okay, on to configure, compile and install. The CMake commands are - cmake -DCMAKE_INSTALL_PREFIX=../highfive-v2.7.1 -DHIGHFIVE_USE_BOOST=Off -B build . + cmake -DCMAKE_INSTALL_PREFIX=build/install -DHIGHFIVE_USE_BOOST=Off -B build . cmake --build build --parallel cmake --install build +Later you'd pass the installation directory, i.e. `${PWD}/build/install`, to +`CMAKE_PREFIX_PATH`. + ### Confirming It Works We again need a dummy file called `dummy.cpp` with the following contents