Skip to content

Commit

Permalink
config: link to libass check if capi.h is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Sep 28, 2015
1 parent 33eaf93 commit a8debcf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config.tests/libass/libass.pro
Original file line number Diff line number Diff line change
@@ -1,7 1,9 @@
include(../paths.pri)
CONFIG = staticlib

SOURCES = main.cpp

#LIBS = -lass

exists(../../contrib/capi/capi.pri) {
CONFIG = staticlib
} else {
LIBS = -lass
}

0 comments on commit a8debcf

Please sign in to comment.