[CMake] Remove unneeded -Wnon-virtual-dtor availability check
authorFangrui Song <i@maskray.me>
Tue, 31 Aug 2021 18:00:16 +0000 (11:00 -0700)
committerFangrui Song <i@maskray.me>
Tue, 31 Aug 2021 18:00:16 +0000 (11:00 -0700)
commit4bb5f44c701402462cb93ef00d46d52382f39f11
tree5e8fb24b12bb9efdca6c3129c2e9267976bfc978
parent167b2dbde4cd9da17980a5dce0dd1654cae3fff5
[CMake] Remove unneeded -Wnon-virtual-dtor availability check

For Clang, 3.5 is the minimum requirement which has fixed the bug.
GCC 5 is good as well.
llvm/cmake/modules/HandleLLVMOptions.cmake