mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Borland: Do not identify Clang-based Embarcadero compilers
The Borland compiler identification test matches any compiler that defines __BORLANDC__, including the Clang-based Embarcadero compilers. Those are identified as Embarcadero before Borland is tried, so the result does not change, but exclude them so that the test matches only the compilers it is meant to identify.
This commit is contained in:
1 parent
641d5321a7
commit
f29cfe2bf9
1 file changed
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
set(_compiler_id_pp_test "defined(__BORLANDC__)")
|
||||
set(_compiler_id_pp_test "defined(__BORLANDC__) && !defined(__clang__)")
|
||||
|
||||
set(_compiler_id_version_compute "
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
|
||||
Reference in new issue
Block a user