浏览代码

BUG: fix problem where cmake thinks the intel compiler is gnu

Bill Hoffman 21 年之前
父节点
当前提交
6b31e5c851
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/CMakeTestGNU.c

+ 1 - 1
Modules/CMakeTestGNU.c

@@ -1,4 +1,4 @@
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
 void THIS_IS_GNU();
 #endif
 #ifdef __MINGW32__