Skip to content

Commit 0cbd67e

Browse files
authored
openvino_backend doesn't need to be static only
We can allow BUILD_SHARED_LIBS=ON and build shared library.
1 parent e196b50 commit 0cbd67e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backends/openvino/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ include(${EXECUTORCH_ROOT}/tools/cmake/Utils.cmake)
3131
# Find OpenVINO libraries
3232
find_package(OpenVINO REQUIRED)
3333

34-
# Define OpenVINO backend as a static library
35-
add_library(openvino_backend STATIC .)
34+
add_library(openvino_backend .)
3635

3736
# Enable exceptions and RTTI for OpenVINO backend
3837
target_compile_options(openvino_backend PRIVATE -frtti -fexceptions)

0 commit comments

Comments
 (0)