make the pkg-config call more forgiving

This commit is contained in:
Ioan Sucan 2012-06-25 13:27:40 -07:00
parent fa3e047e74
commit 2e9ec4e8e2
1 changed files with 2 additions and 3 deletions

View File

@ -17,10 +17,9 @@
<rosdep name="colladadom"/>
<export>
<cpp cflags="-I${prefix}/include `pkg-config --silence-errors --cflags collada15dom` `pkg-config --silence-errors --cflags collada-dom-150` "
lflags="-Wl,-rpath,${prefix}/lib -L${prefix}/lib -lcollada_parser `pkg-config --silence-errors --libs collada15dom` `pkg-config --silence-errors --libs collada-dom-150`"/>
<cpp cflags="-I${prefix}/include `pkg-config --silence-errors --cflags collada15dom || echo` `pkg-config --silence-errors --cflags collada-dom-150 || echo`"
lflags="-Wl,-rpath,${prefix}/lib -L${prefix}/lib -lcollada_parser `pkg-config --silence-errors --libs collada15dom || echo` `pkg-config --silence-errors --libs collada-dom-150 || echo`"/>
</export>
</package>