[ci][framework] Don't unconditionally force clang-18 for UNIX platforms in CMakeLists.txt

Reason why this change is needed

Description of the change

  • Added a guard around the compiler setting

Affected operating points

  • CMake Build

Related to #1591

Merge request reports

Loading