vcpkg/ports/gtest/usage
Arkady Shapkin 1ffc1b569d [gtest] Update to version 1.8.1 (#4220)
* [gtest] Update to version 1.8.1

* [gtest] Fix typo in cmake adjustment code. Revert usage to follow CMake official guidelines.
2018-11-14 11:05:11 -08:00

7 lines
228 B
Plaintext

The package gtest is compatible with built-in CMake targets:
enable_testing()
find_package(GTest MODULE REQUIRED)
target_link_libraries(main PRIVATE GTest::GTest GTest::Main)
add_test(AllTestsInMain main)