diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-08-18 18:39:35 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-08-19 18:39:35 +0200 |
commit | 4efe7e43a28ff607a93bf0b75c5e94e18f959b9e (patch) | |
tree | 3562c8a295af6c4288acc1b0e31b84bf97f7b207 /README.md | |
parent | 5e4005162b804c5501fccf4d066c5b1b99c38b89 (diff) |
Improved installation instructions. Fixes #40.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -195,11 +195,12 @@ or to build with a staticially linked libnDPI: ```shell mkdir build cd build -cmake .. -DSTATIC_LIBNDPI_INSTALLDIR=[path/to/your/libnDPI/installdir] +cmake .. -DSTATIC_LIBNDPI_INSTALLDIR=[path/to/your/libnDPI/installdir] -DNDPI_NO_PKGCONFIG=ON ``` If you use the latter, make sure that you've configured libnDPI with `./configure --prefix=[path/to/your/libnDPI/installdir]` and remember to set the all-necessary CMake variables to link against shared libraries used by your nDPI build. +You'll also need to use `-DNDPI_NO_PKGCONFIG=ON` if `STATIC_LIBNDPI_INSTALLDIR` does not contain a pkg-config file. e.g.: |