From c5e54ca6234d9568e1185e1ff92f4d04c41faa6c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Apr 2015 02:11:35 +0300 Subject: Add configure option for enable/disable CilkPlus support. By default disabled. --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index c9951189e..8f6f457e7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,6 +28,11 @@ else manaplus_SOURCES = endif +if ENABLE_CILKPLUS +manaplus_CXXFLAGS += -DENABLE_CILKPLUS -fcilkplus -lcilkrts +dyecmd_CXXFLAGS += -DENABLE_CILKPLUS -fcilkplus -lcilkrts +endif + dyecmd_CXXFLAGS += -DDYECMD dyecmd_SOURCES = gui/cliprect.cpp \ gui/color.cpp \ -- cgit v1.2.3-70-g09d2