From: Andrei Pavel Date: Wed, 16 Apr 2025 10:09:28 +0000 (+0300) Subject: [#3732] Add note to devel docs about gtest.wrap X-Git-Tag: Kea-2.7.8~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=282687853c20fa1dbc5f40997f7d7a5c94f6c632;p=thirdparty%2Fkea.git [#3732] Add note to devel docs about gtest.wrap --- diff --git a/doc/devel/unit-tests.dox b/doc/devel/unit-tests.dox index 823b88ec64..a8955abfec 100644 --- a/doc/devel/unit-tests.dox +++ b/doc/devel/unit-tests.dox @@ -17,11 +17,11 @@ be, but rather provide gtest as sources. This was further complicated with the fact that some Linux distributions packaged gtest and tried to mimic its installation. Meson tries its best to accommodate all typical situations and to locate gtest on its own. If it cannot be found, linking -/usr/src/googletest to the custom location should do the trick. The `-D tests` -flag has to be provided. +/usr/src/googletest to the custom location should do the trick. If that does +not work either, the Kea project has a gtest.wrap which instructs it how to +fetch googletest on its own. The `-D tests` flag has to be provided. @code -sudo apt install googletest meson setup build -D tests=enabled @endcode