浏览代码

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>