summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-06-20 00:33:23 +0200
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-06-20 00:33:23 +0200
commitba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f (patch)
tree2207999b3b2831edb333c7ce05f434ceb51cfbb5
parentef47dca509c1c26c5037b9b9024a6a84a3b7fe0b (diff)
downloadastra-ba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f.tar.gz
astra-ba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f.tar.bz2
astra-ba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f.tar.xz
astra-ba3629c6c1bc1d03ccdc6ef2aeae6872ea59559f.zip
Fix matlab compilation without CUDA
-rw-r--r--matlab/mex/astra_mex_c.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/matlab/mex/astra_mex_c.cpp b/matlab/mex/astra_mex_c.cpp
index 4a331f5..a9b9654 100644
--- a/matlab/mex/astra_mex_c.cpp
+++ b/matlab/mex/astra_mex_c.cpp
@@ -36,9 +36,9 @@ $Id$
#include "mexInitFunctions.h"
#include "astra/Globals.h"
-
+#ifdef ASTRA_CUDA
#include "../cuda/2d/darthelper.h"
-
+#endif
using namespace std;
using namespace astra;