File tree 2 files changed +5
-2
lines changed
vision/detection/rkyolo/cpp
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ function(add_fastdeploy_executable FIELD CC_FILE)
51
51
if (TARGET gflags)
52
52
if (UNIX AND (NOT APPLE ) AND (NOT ANDROID))
53
53
target_link_libraries (${TEMP_TARGET_NAME} PRIVATE gflags pthread)
54
+ elseif (WIN32 )
55
+ target_link_libraries (${TEMP_TARGET_NAME} PRIVATE gflags)
56
+ if (HAVE_SHLWAPI)
57
+ target_link_libraries (${TEMP_TARGET_NAME} PRIVATE shlwapi.lib)
58
+ endif ()
54
59
else ()
55
60
target_link_libraries (${TEMP_TARGET_NAME} PRIVATE gflags)
56
61
endif ()
Original file line number Diff line number Diff line change 14
14
#include " fastdeploy/vision.h"
15
15
16
16
void RKNPU2Infer (const std::string& model_file, const std::string& image_file) {
17
- struct timeval start_time, stop_time;
18
-
19
17
auto option = fastdeploy::RuntimeOption ();
20
18
option.UseRKNPU2 ();
21
19
You can’t perform that action at this time.
0 commit comments