Skip to content

Commit

Permalink
qmake: error if both swresample and avresample not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jan 28, 2014
1 parent 30aff63 commit 3477a8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QtAV.pro
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ unix {
}

runConfigTests()
!config_avresample:!config_swresampe {
error("libavresample or libswresample is required. Setup your environment correctly then delete $$BUILD_DIR/.qmake.conf and run qmake again")
}


PACKAGE_VERSION = 1.3.0
PACKAGE_NAME= QtAV
Expand Down

0 comments on commit 3477a8f

Please sign in to comment.