summaryrefslogtreecommitdiffstats
path: root/include/astra/CudaProjector2D.h
diff options
context:
space:
mode:
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