Преглед изворни кода

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>