Explorar o código

include opencl only when using

Nicolas Winkler %!s(int64=4) %!d(string=hai) anos
pai
achega
0775ac2a79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>