Browse Source

Tweaks

submodule
T-bone 7 years ago
parent
commit
bc629a34bc
3 changed files with 6 additions and 5 deletions
  1. 5
    0
      CMakeLists.txt
  2. 0
    2
      Modules/FDEM1D/src/LayeredEarthEM.cpp
  3. 1
    3
      Modules/LemmaCore/src/LayeredEarth.cpp

+ 5
- 0
CMakeLists.txt View File

@@ -171,6 +171,11 @@ if ( KIHA_EM1D )
171 171
 endif()
172 172
 
173 173
 ####################
174
+# Magic rpath flag
175
+####################
176
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
177
+
178
+####################
174 179
 # Add the c++11 flag 
175 180
 # TODO add compiler specific instructions
176 181
 include(CheckCXXCompilerFlag)

+ 0
- 2
Modules/FDEM1D/src/LayeredEarthEM.cpp View File

@@ -57,8 +57,6 @@ namespace Lemma {
57 57
         return std::make_shared<LayeredEarthEM> ( node, ctor_key() );
58 58
     }
59 59
 
60
-
61
-
62 60
     YAML::Node LayeredEarthEM::Serialize() const {
63 61
         YAML::Node node = LayeredEarth::Serialize();
64 62
         node.SetTag( GetName() );

+ 1
- 3
Modules/LemmaCore/src/LayeredEarth.cpp View File

@@ -18,7 +18,7 @@ namespace Lemma {
18 18
 	// ====================    FRIENDS     ======================
19 19
 
20 20
     std::ostream &operator << (std::ostream &stream, const LayeredEarth &ob) {
21
-        stream << ob.Serialize()  << "\n---\n"; // End of doc --- as a direct stream should encapulste thingy
21
+        stream << ob.Serialize()  << "\n---\n"; // End of doc
22 22
         return stream;
23 23
     }
24 24
 
@@ -28,8 +28,6 @@ namespace Lemma {
28 28
 		NumberOfLayers(0), 	NumberOfInterfaces(0) {
29 29
 	}
30 30
 
31
-
32
-
33 31
 	LayeredEarth::~LayeredEarth() {
34 32
 	}
35 33
 

Loading…
Cancel
Save