1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 19:44:12 -04:00

Fix ffpmeg/opencv dependencies. Enable C lang on Mac, for external projects

This commit is contained in:
Jon Beniston
2023-09-13 21:58:51 +01:00
parent e83d974443
commit df4c6ca825
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -96,8 +96,8 @@ add_executable(ldpctool
)
install(TARGETS ldpctool DESTINATION ${INSTALL_BIN_DIR})
if(FFMPEG_EXTERNAL)
add_dependencies(${TARGET_NAME} ffmpeg)
if(DEFINED FFMPEG_DEPENDS)
add_dependencies(${TARGET_NAME} ${FFMPEG_DEPENDS})
endif()
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
+1 -1
View File
@@ -62,7 +62,7 @@ target_link_libraries(${TARGET_NAME}
)
if(DEFINED OpenCV_DEPENDS)
add_dependencies(${TARGET_NAME} opencv)
add_dependencies(${TARGET_NAME} ${OpenCV_DEPENDS})
endif()
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})
+2 -2
View File
@@ -87,8 +87,8 @@ target_link_libraries(${TARGET_NAME}
${SWRESAMPLE_LIBRARIES}
)
if(FFMPEG_EXTERNAL)
add_dependencies(${TARGET_NAME} ffmpeg)
if(DEFINED FFMPEG_DEPENDS)
add_dependencies(${TARGET_NAME} ${FFMPEG_DEPENDS})
endif()
install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})