-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake operation generates warnings and errors. #7
Comments
It seems to me that the issue is in gtest's CMake. Which version are you using? |
@tbennun |
Can you test this with |
Because |
If you extract gtest to https://github.com/google/googletest/archive/release-1.7.0.zip |
I use gtest_discover_tests which introduced in |
FWIW, this is caused by a bug in certain versions of CMake. I reported it, and it will be fixed in new releases (v3.12.1 and above). The workaround for the broken versions is to stick a cmake_policy(SET CMP0057 NEW) in your CMake scripts somewhere before calling |
interesting.. Can you create a PR please? Should be relatively short |
cmake version 3.22.1 也报错了 |
My
OS
isArch Linux
, and thecmake
version is3.10.1
. When doingcmake
, it generates following warnings and errors:Could you help to check it? Thanks very much in advance!
The text was updated successfully, but these errors were encountered: