1
0
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:
srcejon 2022-05-26 21:35:09 +01:00
parent c6e1ea51a6
commit c926711f89

View File

@ -61,7 +61,7 @@ target_link_libraries(${TARGET_NAME}
"${OpenCV_LIBS}"
)
if(OpenCV_EXTERNAL)
if(DEFINED OpenCV_DEPENDS)
add_dependencies(${TARGET_NAME} opencv)
endif()