소스 검색

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>