Fix build error with -DBUILD_SHARED_LIBS=OFF (#9639)
* Add _ov_frontends_hpp dependency to frontend_common_obj * Move _ov_frontends_hpp dependency to frontend_common_obj
This commit is contained in:
parent
9ef48cbe6d
commit
2e59029e68
@ -57,7 +57,7 @@ function(ov_generate_frontends_hpp)
|
||||
# for some reason dependency on source files does not work
|
||||
# so, we have to use explicit target and make it dependency for frontend_common
|
||||
add_custom_target(_ov_frontends_hpp DEPENDS ${ov_frontends_hpp})
|
||||
add_dependencies(frontend_common _ov_frontends_hpp)
|
||||
add_dependencies(frontend_common_obj _ov_frontends_hpp)
|
||||
|
||||
# add dependency for object files
|
||||
get_target_property(sources frontend_common_obj SOURCES)
|
||||
|
Loading…
Reference in New Issue
Block a user