diff options
Diffstat (limited to 'src/progs/ingen')
-rw-r--r-- | src/progs/ingen/Makefile.am | 4 | ||||
-rw-r--r-- | src/progs/ingen/main.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/progs/ingen/Makefile.am b/src/progs/ingen/Makefile.am index 9915cae5..7a500868 100644 --- a/src/progs/ingen/Makefile.am +++ b/src/progs/ingen/Makefile.am @@ -1,4 +1,4 @@ -AM_CXXFLAGS = @RAUL_CFLAGS@ -I$(top_srcdir)/src/common -I$(top_srcdir)/src/libs -DINGEN_MODULE_DIR=\"$(libdir)/ingen\" +AM_CXXFLAGS = @RAUL_CFLAGS@ @GTHREAD_CFLAGS@ -I$(top_srcdir)/src/common -I$(top_srcdir)/src/libs -DINGEN_MODULE_DIR=\"$(libdir)/ingen\" MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = ingen_dev @@ -7,7 +7,7 @@ desktopfilesdir = $(datadir)/applications dist_desktopfiles_DATA = ingen.desktop bin_PROGRAMS = ingen -ingen_LDADD = @RAUL_LIBS@ ../../libs/module/libingen_module.la +ingen_LDADD = @RAUL_LIBS@ @GTHREAD_LIBS@../../libs/module/libingen_module.la ingen_DEPENDENCIES = ../../libs/module/libingen_module.la ingen_SOURCES = \ diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 720530d0..b8d18e14 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -21,6 +21,7 @@ #include <glibmm/convert.h> #include <glibmm/miscutils.h> #include <boost/optional.hpp> +#include <glibmm/thread.h> #include <raul/Path.h> #include <raul/RDFWorld.h> #include <raul/SharedPtr.h> @@ -71,6 +72,7 @@ main(int argc, char** argv) SharedPtr<Shared::EngineInterface> engine_interface; + Glib::thread_init(); /* Run engine */ if (args.engine_flag) { |