cmake: Don't use unqualified target_link_libraries

You can't mix unqualified and qualified link libraries (PUBLIC / PRIVATE).
Use the modern form.
This commit is contained in:
Florent Castelli
2017-02-08 02:57:36 +01:00
parent a9ed44cd48
commit 8c82607c95
3 changed files with 3 additions and 3 deletions

View File

@ -62,5 +62,5 @@ endif()
add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
if(LIBAV_FOUND)
target_link_libraries(videocommon ${LIBS} ${LIBAV_LIBRARIES})
target_link_libraries(videocommon PRIVATE ${LIBS} ${LIBAV_LIBRARIES})
endif()