Skip to content
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

googletest에서 cmake deprecation warning 발생 #34

Closed
emiatej9 opened this issue Aug 28, 2021 · 2 comments · Fixed by #35
Closed

googletest에서 cmake deprecation warning 발생 #34

emiatej9 opened this issue Aug 28, 2021 · 2 comments · Fixed by #35
Assignees

Comments

@emiatej9
Copy link
Contributor

현재 cmake 3.19.2 버전을 사용하고 있는데 cmake -DCMAKE_BUILD_TYPE=Release ../ 명령 실행 시에 다음과 같은 deprecation waring 이 발생합니다.

CMake Deprecation Warning at third_party/googletest/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

googletest에서 발생하는 것으로 보이는데, googletest에서는 Bump CMake minimum to 2.8.12 에서 해당 이슈가 해결되었고, v1.11.0 에 반영되어있습니다.

현재 서브모듈로 포함되어있는 googletest 는 v1.8.x 네요. googletest 버전을 올려되 되지 않을까 합니다.

@bab2min
Copy link
Owner

bab2min commented Aug 28, 2021

@emiatej9
좋은 제안 감사합니다. warning 메세지가 뜨는걸 확인 못했었는데요, 큰 문제 없다면 googletest 버전을 올리는게 좋겠네요!
혹시 @emiatej9 님께 이슈 해결 부탁드려도 될까요?

@emiatej9
Copy link
Contributor Author

@bab2min 네, 알겠습니다. 한 번 도전해 보겠습니다 🙆‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants