mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00
7 lines
221 B
Plaintext
7 lines
221 B
Plaintext
![]() |
The package gtest is compatible with built-in CMake targets:
|
||
|
|
||
|
enable_testing()
|
||
|
find_package(GTest REQUIRED)
|
||
|
target_link_libraries(main PRIVATE GTest::GTest GTest::Main)
|
||
|
add_test(AllTestsInMain main)
|