workaround: cvconfig.h doesn't work with hal at this moment
authorAlexander Alekhin <alexander.alekhin@itseez.com>
Mon, 14 Dec 2015 10:52:02 +0000 (13:52 +0300)
committerAlexander Alekhin <alexander.alekhin@itseez.com>
Mon, 14 Dec 2015 10:52:02 +0000 (13:52 +0300)
cmake/cl2cpp.cmake
modules/hal/src/precomp.hpp

index d5e3d5f..ed5dcb8 100644 (file)
@@ -24,6 +24,7 @@ endif()
 set(STR_CPP "// This file is auto-generated. Do not edit!
 
 #include \"precomp.hpp\"
+#include \"cvconfig.h\"
 #include \"${OUTPUT_HPP_NAME}\"
 
 #ifdef HAVE_OPENCL
index 7d310f4..1658636 100644 (file)
@@ -40,7 +40,6 @@
 //
 //M*/
 
-#include "cvconfig.h"
 #include "opencv2/hal.hpp"
 #include "opencv2/hal/intrin.hpp"
 #include <algorithm>