Fix creation of output file name
[skype-call-recorder.git] / utils / cmake-static
blobe94fd3e09c520779b5c5d092b0b9ce25ed0efc9d
1 #!/bin/sh
3 # this configures cmake to use the static libraries in the
4 # directory 'static/'. please note that these variable are
5 # sticky! even if you invoke cmake directly later on, they will
6 # stay. run "rm -rf CMakeFiles CMakeCache.txt" to
7 # fix this.
9 test -z "$BASE" && BASE=$(pwd)
11 cmake \
12 -DID3_INCLUDE_DIR:string=$BASE/static/include \
13 -DID3_LIBRARY:string=$BASE/static/lib/libid3.a \
14 -DLAME_INCLUDE_DIR:string=$BASE/static/include \
15 -DLAME_LIBRARY:string=$BASE/static/lib/libmp3lame.a \
16 "$@"