mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Only add opencv project as a dependency when it actually is
This commit is contained in:
parent
c6e1ea51a6
commit
c926711f89
@ -61,7 +61,7 @@ target_link_libraries(${TARGET_NAME}
|
||||
"${OpenCV_LIBS}"
|
||||
)
|
||||
|
||||
if(OpenCV_EXTERNAL)
|
||||
if(DEFINED OpenCV_DEPENDS)
|
||||
add_dependencies(${TARGET_NAME} opencv)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user