Selaa lähdekoodia

include opencl only when using

Nicolas Winkler 4 vuotta sitten
vanhempi
commit
0775ac2a79
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>