diff --git a/CMakeLists.txt b/CMakeLists.txt index e672d660d2..240a7b212b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,7 +105,7 @@ else() endif() get_target_property(fastdeploy_type fastdeploy_ppocr TYPE) if(fastdeploy_type STREQUAL "SHARED_LIBRARY") - install(TARGETS fastdeploy) + install(TARGETS fastdeploy_ppocr) endif() else() find_package(fastdeploy_ppocr REQUIRED)