forked from huawei/mindspore2022
fix lite_cv include path bug
This commit is contained in:
parent
fad40466c6
commit
ac21d457ff
|
|
@ -22,7 +22,7 @@
|
|||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "minddata/dataset/kernels/image/lite_cv/lite_mat.h"
|
||||
#include "lite_cv/lite_mat.h"
|
||||
|
||||
namespace mindspore {
|
||||
namespace dataset {
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ AUX_SOURCE_DIRECTORY(${MINDDATA_DIR}/kernels/image/lite_cv MINDDATA_KERNELS_IMA
|
|||
|
||||
|
||||
if (BUILD_MINDDATA STREQUAL "full")
|
||||
include_directories("${CMAKE_SOURCE_DIR}/../ccsrc/minddata/dataset/kernels/image")
|
||||
list(REMOVE_ITEM MINDDATA_API_SRC_FILES
|
||||
"${MINDDATA_DIR}/api/text.cc"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue