Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olpipi committed Aug 5, 2024
1 parent 3c5a5ef commit 45aae98
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: brew install scons

- name: CMake configure
run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -B build
run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -DENABLE_TESTS=ON -B build

- name: Build snippets
run: cmake --build build --target openvino_docs_snippets --parallel
4 changes: 2 additions & 2 deletions docs/snippets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
file(GLOB GPU_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../articles_en/assets/snippets/gpu/*.cpp")
# add GPU snippets if OpenCL has been found
if(TARGET OpenCL::OpenCL)
list(APPEND SOURCES ${GPU_SOURCES})
list(APPEND SOURCES ${GPU_SOURCES})
endif()

# try to find VA libraries
Expand Down Expand Up @@ -87,7 +87,7 @@ if(OpenCV_FOUND)
target_link_libraries(${TARGET_NAME} PRIVATE opencv_core)
endif()

target_link_libraries(${TARGET_NAME} PRIVATE gtest gtest_main common_test_utils)
target_link_libraries(${TARGET_NAME} PRIVATE common_test_utils)

# ov_ncc_naming_style(FOR_TARGET "${TARGET_NAME}"
# SOURCE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}"
Expand Down

0 comments on commit 45aae98

Please sign in to comment.