Skip to content

Commit 241f1a9

Browse files
committed
copy in build-onGit
1 parent 6a64c38 commit 241f1a9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/Graph/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ target_link_libraries(Graph_Build BuildGraph)
2222
add_executable(ACC acc_check.cpp)
2323
target_link_libraries(ACC BuildGraph)
2424

25-
if (WIN32)
25+
if (WIN32 AND EXISTS "${OPENCV_BUILD_DIR}/bin")
2626
add_custom_command(TARGET Graph_Build POST_BUILD
2727
COMMAND ${CMAKE_COMMAND} -E copy_directory
2828
"${OPENCV_BUILD_DIR}/bin/."

app/Graph/build.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ void build_graph(it_lab_ai::Graph& graph, it_lab_ai::Tensor& input,
5555
it_lab_ai::Tensor& output, const std::string& json_path,
5656
it_lab_ai::RuntimeOptions options, bool comments);
5757
void build_graph_linear(it_lab_ai::Graph& graph, it_lab_ai::Tensor& input,
58-
it_lab_ai::Tensor& output, it_lab_ai::RuntimeOptions options,
59-
bool comments);
58+
it_lab_ai::Tensor& output,
59+
it_lab_ai::RuntimeOptions options, bool comments);
6060
std::unordered_map<int, std::string> load_class_names(
6161
const std::string& filename);
6262

0 commit comments

Comments
 (0)