Unverified Commit c5bf6812 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Change ngraph_test_util to a static library (#2274)

parent 6a4454bc
...@@ -21,11 +21,10 @@ set (SRC ...@@ -21,11 +21,10 @@ set (SRC
test_control.cpp test_control.cpp
) )
add_library(ngraph_test_util SHARED ${SRC}) add_library(ngraph_test_util STATIC ${SRC})
if(NGRAPH_LIB_VERSIONING_ENABLE) if(NGRAPH_LIB_VERSIONING_ENABLE)
set_target_properties(ngraph_test_util PROPERTIES set_target_properties(ngraph_test_util PROPERTIES
VERSION ${NGRAPH_VERSION} VERSION ${NGRAPH_VERSION})
SOVERSION ${NGRAPH_API_VERSION})
endif() endif()
target_include_directories(ngraph_test_util PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..) target_include_directories(ngraph_test_util PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
target_link_libraries(ngraph_test_util ngraph libgtest) target_link_libraries(ngraph_test_util ngraph libgtest)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment