This fixes what I believe is a small mistake/typo in the README.
In the CMake configure command, previously -DCMAKE_PREFIX_PATH was provided which is used to tell CMake where to look for installed libraries (not where to install the library that will be built). For that, you need to use -DCMAKE_INSTALL_PREFIX which I believe it what was intended here.
Description of changes
This fixes what I believe is a small mistake/typo in the README.
In the CMake configure command, previously
-DCMAKE_PREFIX_PATH
was provided which is used to tell CMake where to look for installed libraries (not where to install the library that will be built). For that, you need to use-DCMAKE_INSTALL_PREFIX
which I believe it what was intended here.The flow is usually something like this...
There's a chance I've misunderstood and the intention was to find existing libraries, if so please ignore this.
Thanks!
(For reference see the CMake docs CMAKE_PREFIX_PATH and CMAKE_INSTALL_PREFIX.
Check all that applies
Added proper tests to cover this PR. (If tests are not applicable, explain.)Checked if this PR is a breaking (APIs have been changed) change.Checked if this PR will not introduce cross-platform inconsistent behavior.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.