The source code tarball does not contain the gtest directory but CMakeLists.txt tries to use the nonexistent gtest directory if it detects that the gtest program is installed, leading to this cmake failure:
CMake Error at CMakeLists.txt:315 (add_subdirectory):
add_subdirectory given source "gtest" which is not an existing directory.
-- Configuring incomplete, errors occurred!
The source code tarball does not contain the gtest directory but CMakeLists.txt tries to use the nonexistent gtest directory if it detects that the
gtest
program is installed, leading to thiscmake
failure:This was reported to MacPorts here: https://trac.macports.org/ticket/67333
Please include the gtest directory in the tarball in future versions of pupnp.