|
|
@ -58,7 +58,13 @@ endforeach() |
|
|
|
set(OpenCV_LIB_COMPONENTS ${OpenCV_LIB_COMPONENTS_}) |
|
|
|
set(OpenCV_LIB_COMPONENTS ${OpenCV_LIB_COMPONENTS_}) |
|
|
|
if(OpenCV_EXTRA_COMPONENTS) |
|
|
|
if(OpenCV_EXTRA_COMPONENTS) |
|
|
|
foreach(extra_component ${OpenCV_EXTRA_COMPONENTS}) |
|
|
|
foreach(extra_component ${OpenCV_EXTRA_COMPONENTS}) |
|
|
|
|
|
|
|
if(extra_component MATCHES "-[lL](.*)" ) |
|
|
|
|
|
|
|
set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} ${extra_component}") |
|
|
|
|
|
|
|
elseif(extra_component MATCHES "/") |
|
|
|
|
|
|
|
set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} ${extra_component}") |
|
|
|
|
|
|
|
else() |
|
|
|
set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} -l${extra_component}") |
|
|
|
set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} -l${extra_component}") |
|
|
|
|
|
|
|
endif() |
|
|
|
endforeach() |
|
|
|
endforeach() |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|