google / googletest

GoogleTest - Google Testing and Mocking Framework

Home Page:https://google.github.io/googletest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: CMake error (set_target_properties)

Gabriele04 opened this issue · comments

Describe the issue

When I build the cmake of googletest v1.14 i receive this error messages:

CMake Warning at test/lib/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 test/lib/googletest/CMakeLists.txt:124 (set_target_properties):
  set_target_properties called with incorrect number of arguments.


CMake Error at test/lib/googletest/CMakeLists.txt:142 (set_target_properties):
  set_target_properties called with incorrect number of arguments.

Steps to reproduce the problem

Build/reload/debug the cmake of googletest inside the googletest directory (/googletest-main/googletest/CMakeList.txt)

What version of GoogleTest are you using?

1.14

What operating system and version are you using?

Linux

What compiler and version are you using?

gcc version 13.2.1

What build system are you using?

cmake version 3.29.2

Additional context

No response