pupnp / pupnp

libupnp: Build UPnP-compliant control points, devices, and bridges on several operating systems.
https://pupnp.github.io/pupnp
BSD 3-Clause "New" or "Revised" License
349 stars 114 forks source link

gtest directory missing in tarball #427

Open ryandesign opened 1 year ago

ryandesign commented 1 year ago

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!

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.

ryandesign commented 1 year ago

I see this isn't the first time files have been missing from the tarball (#280, #419).

mrjimenez commented 1 year ago

Please check if it works now.