It seems that the good people of Canonical have once again changed the way gtest is packaged, resulting in builds breaking on Ubuntu 18.04. The problem is the libgtest-dev package just creates some empty directories for some reason. The actual content has been moved to the googletest package and the file layout has changed for some reason. find_package(GTest) also still doesn't work on Ubuntu for some reason. I'm getting a bit tired having to deal with a different version of this problem every few months.
It seems that the good people of Canonical have once again changed the way gtest is packaged, resulting in builds breaking on Ubuntu 18.04. The problem is the libgtest-dev package just creates some empty directories for some reason. The actual content has been moved to the googletest package and the file layout has changed for some reason.
find_package(GTest)
also still doesn't work on Ubuntu for some reason. I'm getting a bit tired having to deal with a different version of this problem every few months.