[MacPorts] #67449: Apparently Gtest does not set its own version, which leaves it defunct

MacPorts noreply at macports.org
Thu May 18 09:55:17 UTC 2023


#67449: Apparently Gtest does not set its own version, which leaves it defunct
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  judaew
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  gtest
--------------------------+----------------------
 What happens when trying to use it:
 {{{
 GOOGLETEST_ROOT: /opt/local/src
 CMake Warning at /opt/local/src/googlemock/CMakeLists.txt:41 (project):
   VERSION keyword not followed by a value or was followed by a value that
   expanded to nothing.


 CMake Warning at /opt/local/src/googletest/CMakeLists.txt:51 (project):
   VERSION keyword not followed by a value or was followed by a value that
   expanded to nothing.


 -- Found Python: /opt/local/bin/python3.11 (found version "3.11.3") found
 components: Interpreter
 CMake Error at /opt/local/src/googletest/CMakeLists.txt:127
 (set_target_properties):
   set_target_properties called with incorrect number of arguments.


 CMake Error at /opt/local/src/googletest/CMakeLists.txt:129
 (set_target_properties):
   set_target_properties called with incorrect number of arguments.


 CMake Error at /opt/local/src/googlemock/CMakeLists.txt:99
 (set_target_properties):
   set_target_properties called with incorrect number of arguments.


 CMake Error at /opt/local/src/googlemock/CMakeLists.txt:102
 (set_target_properties):
   set_target_properties called with incorrect number of arguments.


 -- Configuring incomplete, errors occurred!
 }}}

 Looks like {{{GOOGLETEST_VERSION}}} is set to nothing.

-- 
Ticket URL: <https://trac.macports.org/ticket/67449>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list