S
S
sitev_ru2018-02-19 12:40:04
Software testing
sitev_ru, 2018-02-19 12:40:04

Why is CMake not finding GTest (Google Test)?

There is a finished project. In one of the cmake files, the following construction works out:

find_package(GTest REQUIRED)
if (NOT GTest_FOUND)
    message(FATAL_ERROR "Cannot find Google Test Framework!")
endif()

How to overcome the error?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question