1
0
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:
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}" "${OpenCV_LIBS}"
) )
if(OpenCV_EXTERNAL) if(DEFINED OpenCV_DEPENDS)
add_dependencies(${TARGET_NAME} opencv) add_dependencies(${TARGET_NAME} opencv)
endif() endif()