mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
28b1c5f9b3
LCC, as of 1.26, has a buggy EDG frontend that emits -Wunused-but-set-variable warning even if there's something like "(void)var" when frontend optimizations are enabled (>=-O1). To get rid of this warning, we disable it in CMake's root CMakeLists.txt for LCC >= 1.26. Later, when this bug will be fixed in LCC, this version check will have its top version limit.
5.0 KiB
5.0 KiB