Sven Sickert преди 12 години
родител
ревизия
59a597618e
променени са 1 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 10 0
      progs/testLinsolvers.cpp

+ 10 - 0
progs/testLinsolvers.cpp

@@ -6,6 +6,9 @@
 
 */
 #include "core/basics/Config.h"
+
+#ifdef NICE_USELIB_MATIO
+
 #include "core/algebra/IterativeLinearSolver.h"
 #include "core/algebra/PartialGenericMatrix.h"
 #include "core/algebra/GBCDSolver.h"
@@ -264,3 +267,10 @@ int main (int argc, char **argv)
 
   return 0;
 }
+#else
+int main (int argc, char **argv)
+{
+  std::cerr << "MatIO library is missing in your system - this program will have no effect. " << std::endl;  
+}
+
+#endif