瀏覽代碼

Tweaks for icpc

add-code-of-conduct-1
Trevor Irons 6 年之前
父節點
當前提交
0852ef4c92
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      Modules/FDEM1D/examples/Hantenna.cpp

+ 1
- 1
CMakeLists.txt 查看文件

@@ -115,7 +115,7 @@ project (Lemma CXX)
115 115
 
116 116
 if(CXXTEST_FOUND)
117 117
 	if (LEMMA_ENABLE_TESTING)
118
-        #include (CTest)
118
+        include (CTest)
119 119
     	enable_testing()
120 120
 	endif()
121 121
 endif()

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

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

Loading…
取消
儲存