Forráskód Böngészése

include opencl only when using

Nicolas Winkler 4 éve
szülő
commit
0775ac2a79
1 módosított fájl, 1 hozzáadás és 1 törlés
  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>