cmake cxx standard and USES compiler:c++{17,14,11}-lang

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sat, 30 Jul 2022 21:00:56 UTC
Hello,

I'm working on a port that have wrksrc CMakeLists.txt:
---
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
---
but port Makefile have:
---
USES= cmake compiler:c++14-lang
---

Should I change it to compiler:c++17-lang?
Do USES= compiler have any influence on cmake building?

Thanks in advance,

Nuno Teixeira