Преглед на файлове

include opencl only when using

Nicolas Winkler преди 4 години
родител
ревизия
0775ac2a79
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>