Cmake preset, configure condition on specific compiler found?

Hi,

I have a project that requires g++ compiler but provides additional features if/when using Clang and Oneapi DPC compilers. Because only gcc compiler is required I want to hide clang and oneapi configure alternatives if those compilers are not found when using cmake presets.
i tried using conditions like below in my cmake configure preset but does not work.

Configure presets with below will always be hidden, can it be done with another syntax?

  "condition": {
        "type": "equals",
        "lhs": "CMAKE_CXX_COMPILER",
        "rhs": "icpx"
      },
  "condition": {
        "type": "equals",
        "lhs": "CMAKE_CXX_COMPILER",
        "rhs": "clang++"
      },