mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00

* [gtest] Update to version 1.8.1 * [gtest] Fix typo in cmake adjustment code. Revert usage to follow CMake official guidelines.
7 lines
228 B
Plaintext
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)
|