Browse Source

Tweaks for icpc

add-code-of-conduct-1
Trevor Irons 6 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
 
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 View File

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__;

Loading…
Cancel
Save