diff --git a/dumux/io/gnuplotinterface.hh b/dumux/io/gnuplotinterface.hh index 7e16233d66879a376458a1445ea9010f0aa363fc..99d923c60f71d001d553bef4e086a24c4fd49cab 100644 --- a/dumux/io/gnuplotinterface.hh +++ b/dumux/io/gnuplotinterface.hh @@ -27,8 +27,9 @@ */ #ifndef HAVE_GNUPLOT -#warning Gnuplot has not been found or cmake has not been used. -#else +#warning Gnuplot has not been found by CMake. Defaulting to /usr/bin/gnuplot +#define GNUPLOT_EXECUTABLE "/usr/bin/gnuplot" +#endif #ifndef DUMUX_GNUPLOT_INTERFACE_HH #define DUMUX_GNUPLOT_INTERFACE_HH @@ -293,5 +294,3 @@ private: }; } // end of namespace #endif // DUMUX_GNUPLOT_INTERFACE_HH - -#endif // HAVE_GNUPLOT \ No newline at end of file diff --git a/test/io/gnuplotinterface/Makefile.am b/test/io/gnuplotinterface/Makefile.am index 1378cb754c2398bd590e62cb642cee983e48a54a..86daf155b002c86e50643632d7ff2e67dda75217 100644 --- a/test/io/gnuplotinterface/Makefile.am +++ b/test/io/gnuplotinterface/Makefile.am @@ -1,6 +1,6 @@ check_PROGRAMS = test_gnuplotinterface -test_fluidsystems_SOURCES = test_gnuplotinterface.cc +test_gnuplotinterface_SOURCES = test_gnuplotinterface.cc EXTRA_DIST=CMakeLists.txt noinst_HEADERS:=$(wildcard *.hh)