-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cpptest] Use find_package to locate GTest files (#9208)
* [cpptest] Use find_package to locate GTest files There is a standard CMake utility for finding GTest, use that instead of doing a manual search. Thanks @tkonolige for the suggestion! * Use GTest:: targets instead of variable * Add USE_GTEST to cmake/config.cmake * Remove GTEST_INCLUDE_DIRS from target_include_directories Cmake will automatically propagate the interface include directories to the dependends of (in this case) GTest. * Restart CI
- Loading branch information
Krzysztof Parzyszek
authored
Oct 8, 2021
1 parent
a0b9011
commit a931a2d
Showing
3 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters