9 lines
189 B
CMake
9 lines
189 B
CMake
|
|
||
|
find_package(GTest)
|
||
|
if (GTest_FOUND)
|
||
|
file(GLOB SRCS *.cpp)
|
||
|
add_executable(Tests ${SRCS})
|
||
|
target_link_libraries(Tests GTest::gtest ESTA)
|
||
|
gtest_discover_tests(Tests)
|
||
|
endif()
|