We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f58e1 commit 8e535edCopy full SHA for 8e535ed
tests/CMakeLists.txt
@@ -50,11 +50,11 @@ function(dai_add_test test_name test_src)
50
endif()
51
52
# Link to core and Catch2 testing framework
53
+ set(DEPTHAI_TARGET depthai::core)
54
if(NOT DEPTHAI_MERGED_TARGET)
- target_link_libraries(${test_name} PRIVATE depthai::opencv ${OpenCV_LIBS} Catch2::Catch2WithMain Threads::Threads)
55
- else()
56
- target_link_libraries(${test_name} PRIVATE depthai::core ${OpenCV_LIBS} Catch2::Catch2WithMain Threads::Threads)
+ set(DEPTHAI_TARGET depthai::opencv)
57
+ target_link_libraries(${test_name} PRIVATE depthai::opencv ${OpenCV_LIBS} Catch2::Catch2WithMain Threads::Threads spdlog::spdlog)
58
59
# Add sanitizers for tests as well
60
if(COMMAND add_sanitizers)
0 commit comments