Bläddra i källkod

include opencl only when using

Nicolas Winkler 4 år sedan
förälder
incheckning
0775ac2a79
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      libmandel/src/ClGenerators.cpp

+ 1 - 1
libmandel/src/ClGenerators.cpp

@@ -4,9 +4,9 @@
 #include "OpenClInternal.h"
 #include "OpenClCode.h"
 
-#include <CL/cl2.hpp>
 
 #if WITH_OPENCL
+#include <CL/cl2.hpp>
 
 #include <iostream>
 #include <iterator>