Skip to content

Commit

Permalink
chore: Update CMakeLists.txt to fix target_link_libraries issue
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed May 5, 2024
1 parent 2a627d3 commit 4c699a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function(find_libav)
libavutil
libswresample)
if(FFMPEG_FOUND)
target_link_libraries(${CMAKE_PROJECT_NAME} PkgConfig::FFMPEG)
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE PkgConfig::FFMPEG)
else()
message(FATAL_ERROR "FFMPEG not found!")
endif()
Expand Down

0 comments on commit 4c699a8

Please sign in to comment.