浏览代码

Tweaks for icpc

add-code-of-conduct-1
Trevor Irons 7 年前
父节点
当前提交
0852ef4c92
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      Modules/FDEM1D/examples/Hantenna.cpp

+ 1
- 1
CMakeLists.txt 查看文件

115
 
115
 
116
 if(CXXTEST_FOUND)
116
 if(CXXTEST_FOUND)
117
 	if (LEMMA_ENABLE_TESTING)
117
 	if (LEMMA_ENABLE_TESTING)
118
-        #include (CTest)
118
+        include (CTest)
119
     	enable_testing()
119
     	enable_testing()
120
 	endif()
120
 	endif()
121
 endif()
121
 endif()

+ 1
- 1
Modules/FDEM1D/examples/Hantenna.cpp 查看文件

34
 #elif defined(__ICC) || defined(__INTEL_COMPILER)
34
 #elif defined(__ICC) || defined(__INTEL_COMPILER)
35
 	/* Intel ICC/ICPC. ------------------------------------------ */
35
 	/* Intel ICC/ICPC. ------------------------------------------ */
36
     const char* compiler = "icpc";
36
     const char* compiler = "icpc";
37
-
37
+    const char* ver = __VERSION__;
38
 #elif defined(__GNUC__) || defined(__GNUG__)
38
 #elif defined(__GNUC__) || defined(__GNUG__)
39
 	/* GNU GCC/G++. --------------------------------------------- */
39
 	/* GNU GCC/G++. --------------------------------------------- */
40
     const char* compiler = "gcc (GCC) ";//  __VERSION__;
40
     const char* compiler = "gcc (GCC) ";//  __VERSION__;

正在加载...
取消
保存