Browse Source

Tweaks for icpc

add-code-of-conduct-1
Trevor Irons 5 years ago
parent
commit
0852ef4c92
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      Modules/FDEM1D/examples/Hantenna.cpp

+ 1
- 1
CMakeLists.txt View File

@@ -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 View File

@@ -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…
Cancel
Save