Quellcode durchsuchen

include opencl only when using

Nicolas Winkler vor 4 Jahren
Ursprung
Commit
0775ac2a79
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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>