Put json library finding under ENABLE_SAMPLES (#14138)
This commit is contained in:
parent
0b361768ce
commit
86e71003e6
11
thirdparty/CMakeLists.txt
vendored
11
thirdparty/CMakeLists.txt
vendored
@ -286,12 +286,13 @@ endif()
|
||||
# nlohmann json
|
||||
#
|
||||
|
||||
add_subdirectory(json)
|
||||
if(ENABLE_SAMPLES)
|
||||
add_subdirectory(json)
|
||||
|
||||
openvino_developer_export_targets(COMPONENT openvino_common
|
||||
TARGETS nlohmann_json)
|
||||
|
||||
ov_install_static_lib(nlohmann_json ${OV_CPACK_COMP_CORE})
|
||||
# this is required only because of VPUX plugin reused this
|
||||
openvino_developer_export_targets(COMPONENT openvino_common
|
||||
TARGETS nlohmann_json)
|
||||
endif()
|
||||
|
||||
#
|
||||
# Install
|
||||
|
Loading…
Reference in New Issue
Block a user