mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
imgproc: add IntelligentScissors
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
function(ocv_define_sample out_target source sub)
|
||||
get_filename_component(name "${source}" NAME_WE)
|
||||
set(the_target "example_${sub}_${name}")
|
||||
if(OPENCV_DUMP_EXAMPLE_TARGET)
|
||||
message(STATUS "Example: ${the_target} (${source})")
|
||||
endif()
|
||||
add_executable(${the_target} "${source}")
|
||||
if(TARGET Threads::Threads AND NOT OPENCV_EXAMPLES_DISABLE_THREADS)
|
||||
target_link_libraries(${the_target} PRIVATE Threads::Threads)
|
||||
|
||||
Reference in New Issue
Block a user