[IE][CMAKE] Fix build issues with custom configuration (#2851)
* FASTER build enabled * MYRIAD plugin disabled
This commit is contained in:
parent
11801eadb3
commit
50645befb7
@ -23,7 +23,6 @@ add_library(${TARGET_NAME} SHARED
|
||||
|
||||
ie_faster_build(${TARGET_NAME}
|
||||
UNITY
|
||||
PCH PRIVATE "src/precomp.hpp"
|
||||
)
|
||||
|
||||
target_compile_definitions(${TARGET_NAME} PRIVATE inference_engine_transformations_EXPORTS)
|
||||
|
@ -305,7 +305,7 @@ public:
|
||||
const_reverse_iterator crend() const noexcept { return _base.crend(); }
|
||||
|
||||
bool empty() const noexcept { return _base.empty(); }
|
||||
#if ENABLE_MYRIAD
|
||||
#ifdef ENABLE_MYRIAD
|
||||
int size() const noexcept { return static_cast<int>(_base.size()); }
|
||||
#else
|
||||
size_t size() const noexcept { return _base.size(); }
|
||||
|
Loading…
Reference in New Issue
Block a user