diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index efebb5156f3..0ecd95619a7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -199,7 +199,7 @@ get_property(LIB_DEPS GLOBAL PROPERTY DNNL_LIB_DEPS) get_property(STATIC_LIB_DEPS GLOBAL PROPERTY DNNL_SUBDIR_EXTRA_STATIC_LIBS) get_property(SHARED_LIB_DEPS GLOBAL PROPERTY DNNL_SUBDIR_EXTRA_SHARED_LIBS) add_library(${LIB_PACKAGE_NAME} ${DNNL_LIBRARY_TYPE} - ${VERSION_RESOURCE_FILE} ${HEADERS_ROOT} ${HEADERS_SUBDIR} ${LIB_DEPS}) + ${VERSION_RESOURCE_FILE} ${HEADERS_ROOT} ${HEADERS_SUBDIR} ${LIB_DEPS} ${CMAKE_CURRENT_SOURCE_DIR}/common/dummy.cpp) # LINK_PRIVATE for cmake 2.8.11 compatibility target_link_libraries(${LIB_PACKAGE_NAME} LINK_PRIVATE ${${LIB_PACKAGE_NAME}_INTERFACE} ${STATIC_LIB_DEPS} ${SHARED_LIB_DEPS}) diff --git a/src/common/dummy.cpp b/src/common/dummy.cpp new file mode 100644 index 00000000000..b2ecea933a2 --- /dev/null +++ b/src/common/dummy.cpp @@ -0,0 +1,6 @@ +// +// dummy.cpp +// openvino +// + +#include "dummy.hpp" diff --git a/src/common/dummy.hpp b/src/common/dummy.hpp new file mode 100644 index 00000000000..1c01a195cee --- /dev/null +++ b/src/common/dummy.hpp @@ -0,0 +1,10 @@ +// dummy.hpp +// openvino +// + +#ifndef dummy_hpp +#define dummy_hpp + +#include + +#endif /* dummy_hpp */