summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaProjector2D.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-05-22 13:15:58 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-05-22 13:15:58 +0200
commit1714312d072179b74306c927b25bd01b5056bdf1 (patch)
tree404c48a9b634bd0db0046c92be491b71a5596563 /include/astra/CudaProjector2D.h
parentc9f11161191729046eb91cc038d815ee8bd1e225 (diff)
downloadastra-1714312d072179b74306c927b25bd01b5056bdf1.tar.gz
astra-1714312d072179b74306c927b25bd01b5056bdf1.tar.bz2
astra-1714312d072179b74306c927b25bd01b5056bdf1.tar.xz
astra-1714312d072179b74306c927b25bd01b5056bdf1.zip
Fix build without CUDA
Diffstat (limited to 'include/astra/CudaProjector2D.h')
-rw-r--r--include/astra/CudaProjector2D.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/astra/CudaProjector2D.h b/include/astra/CudaProjector2D.h
index d43de33..d95aa53 100644
--- a/include/astra/CudaProjector2D.h
+++ b/include/astra/CudaProjector2D.h
@@ -28,6 +28,8 @@ along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>.
#ifndef _INC_ASTRA_CUDAPROJECTOR2D
#define _INC_ASTRA_CUDAPROJECTOR2D
+#ifdef ASTRA_CUDA
+
#include "ParallelProjectionGeometry2D.h"
#include "Float32Data2D.h"
#include "Projector2D.h"
@@ -142,5 +144,7 @@ inline std::string CCudaProjector2D::getType()
} // namespace astra
+#endif
+
#endif