Skip to content

can't build googlemock #4920

@BlackMage2

Description

@BlackMage2

Describe the issue

hello,

i cant build googlemock

how i build googlemock?

Steps to reproduce the problem

~/build/google/googletest/googlemock/build$ cmake ..
CMake Warning at CMakeLists.txt:40 (project):
  VERSION keyword not followed by a value or was followed by a value that                                                                                                         
  expanded to nothing.                                                                                                                                                            
                                                                                                                                                                                  
                                                                                                                                                                                  
CMake Warning at /home/sven2/build/google/googletest/googletest/CMakeLists.txt:50 (project):
  VERSION keyword not followed by a value or was followed by a value that                                                                                                         
  expanded to nothing.                                                                                                                                                            
                                                                                                                                                                                  
                                                                                                                                                                                  
CMake Error at /home/sven2/build/google/googletest/googletest/CMakeLists.txt:124 (set_target_properties):
  set_target_properties called with incorrect number of arguments.                                                                                                                
                                                                                                                                                                                  
                                                                                                                                                                                  
CMake Error at /home/sven2/build/google/googletest/googletest/CMakeLists.txt:139 (set_target_properties):
  set_target_properties called with incorrect number of arguments.                                                                                                                
                                                                                                                                                                                  
                                                                                                                                                                                  
CMake Error at CMakeLists.txt:99 (set_target_properties):
  set_target_properties called with incorrect number of arguments.                                                                                                                
                                                                                                                                                                                  
                                                                                                                                                                                  
CMake Error at CMakeLists.txt:102 (set_target_properties):
  set_target_properties called with incorrect number of arguments.                                                                                                                
                                                                                                                                                                                  
                                                                                                                                                                                  
-- Configuring incomplete, errors occurred!

What version of GoogleTest are you using?

googletest repo head ( current 56efe39 )

What operating system and version are you using?

Ubuntu 22.04

What compiler and version are you using?

g++ (GCC) 15.2.0

What build system are you using?

cmake version 4.2.3

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions