mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-03 05:37:50 -04: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}"
|
"${OpenCV_LIBS}"
|
||||||
)
|
)
|
||||||
|
|
||||||
if(OpenCV_EXTERNAL)
|
if(DEFINED OpenCV_DEPENDS)
|
||||||
add_dependencies(${TARGET_NAME} opencv)
|
add_dependencies(${TARGET_NAME} opencv)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user