From 3aacc4dc94c567d0c988f3fd86003fed44698745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Thu, 14 Jul 2022 21:43:25 +0200 Subject: [PATCH] Explain Google Test integration --- docs/source/keywords.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/keywords.rst b/docs/source/keywords.rst index 168d29444..74fbe2eab 100644 --- a/docs/source/keywords.rst +++ b/docs/source/keywords.rst @@ -256,7 +256,13 @@ The following options control ``find_package`` paths for CMake-based TPLs: * * ``HPX_DIR`` or ``HPX_ROOT`` * Location of HPX prefix (ROOT) or CMake config file (DIR) - * PATH Default: + * PATH Default + +.. note:: + + When building tests, Kokkos will by default use ``find_package`` to search for an installed Google Test library. To force use of internal copy instead, use CMake's built-in `CMAKE_DISABLE_FIND_PACKAGE `_:: + + -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON .. _keywords_arch: