Skip to content

Commit e1a042b

Browse files
author
Matevz Morato
committed
Silently skip depthai::opencv target, since merged target is defaut
1 parent 0804eec commit e1a042b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/integration/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,9 @@ add_runtime_dependencies(integration-test-core usb-1.0)
4949
add_test(integration-test-core integration-test-core)
5050

5151
# Create target dependant on depthai::opencv (if available)
52-
if(TARGET depthai::opencv OR DEPTHAI_MERGED_TARGET)
52+
if(TARGET depthai::opencv)
5353
add_executable(integration-test-opencv src/main.cpp)
5454
target_link_libraries(integration-test-opencv PRIVATE depthai::opencv)
5555
add_runtime_dependencies(integration-test-opencv usb-1.0)
5656
add_test(integration-test-opencv integration-test-opencv)
57-
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
58-
message(STATUS "Skipping DepthAI OpenCV integration test as its not readily available on Win32 architecture.")
59-
else()
60-
# Make sure that DepthAI OpenCV support is avaible with x64
61-
message(FATAL_ERROR "Integration test assumes DepthAI OpenCV support to be available, which seems to be missing.")
6257
endif()

0 commit comments

Comments
 (0)