Skip to content

Commit

Permalink
Explain Google Test integration
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Jul 14, 2022
1 parent ccb1efc commit 3aacc4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/keywords.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html>`_::

-DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON

.. _keywords_arch:

Expand Down

0 comments on commit 3aacc4d

Please sign in to comment.