Fixed cmake
This commit is contained in:
1 parent
a1adca8b05
commit
87e9e4e674
2 files changed
+3
-3
No files matched your search
@@ -329,8 +329,8 @@ function(ie_generate_plugins_hpp)
|
||||
|
||||
# add plugins to libraries including ie_plugins.hpp
|
||||
ie_target_link_plugins(openvino)
|
||||
if(TARGET inference_engine_s)
|
||||
ie_target_link_plugins(inference_engine_s)
|
||||
if(TARGET openvino_s)
|
||||
ie_target_link_plugins(openvino_s)
|
||||
endif()
|
||||
|
||||
set(ie_plugins_hpp "${CMAKE_BINARY_DIR}/src/inference/ie_plugins.hpp")
|
||||
|
||||
@@ -290,7 +290,7 @@ if(WIN32)
|
||||
set_target_properties(${TARGET_NAME}_s PROPERTIES COMPILE_PDB_NAME ${TARGET_NAME}_s)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${TARGET_NAME}_s PRIVATE openvino::itt pugixml::static)
|
||||
target_link_libraries(${TARGET_NAME}_s PRIVATE openvino::itt)
|
||||
|
||||
target_compile_definitions(${TARGET_NAME}_s PUBLIC USE_STATIC_IE)
|
||||
|
||||
|
||||
Reference in new issue
Block a user