Quellcode durchsuchen

Tweaks

submodule
T-bone vor 7 Jahren
Ursprung
Commit
bc629a34bc
3 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen
  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 Datei anzeigen

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

+ 0
- 2
Modules/FDEM1D/src/LayeredEarthEM.cpp Datei anzeigen

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

+ 1
- 3
Modules/LemmaCore/src/LayeredEarth.cpp Datei anzeigen

18
 	// ====================    FRIENDS     ======================
18
 	// ====================    FRIENDS     ======================
19
 
19
 
20
     std::ostream &operator << (std::ostream &stream, const LayeredEarth &ob) {
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
         return stream;
22
         return stream;
23
     }
23
     }
24
 
24
 
28
 		NumberOfLayers(0), 	NumberOfInterfaces(0) {
28
 		NumberOfLayers(0), 	NumberOfInterfaces(0) {
29
 	}
29
 	}
30
 
30
 
31
-
32
-
33
 	LayeredEarth::~LayeredEarth() {
31
 	LayeredEarth::~LayeredEarth() {
34
 	}
32
 	}
35
 
33
 

Laden…
Abbrechen
Speichern