Skip to content

Commit

Permalink
[package] [mediacenter-osmc] Set CMAKE_PREFIX_PATH to new OSMC prefix…
Browse files Browse the repository at this point in the history
…; remove unused build arguments

Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
  • Loading branch information
samnazarko committed Jan 24, 2016
1 parent 0c12f38 commit 114cc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/mediacenter-osmc/build.sh
Expand Up @@ -337,10 +337,10 @@ then
then
PLATFORM="-DCMAKE_INCLUDE_PATH=/opt/vero2/lib -DCMAKE_LIBRARY_PATH=/opt/vero2/include"
fi
cmake -DCMAKE_INSTALL_DESTDIR=/usr -DCMAKE_INSTALL_PREFIX=${out}/usr/ -DBUILD_DIR=$(pwd) ../ -DOVERRIDE_PATHS=1 $PLATFORM
cmake -DCMAKE_INSTALL_PREFIX=${out}/usr/ -DBUILD_DIR=$(pwd) ../ $PLATFORM
if [ $? != 0 ]; then echo "Configuring binary addons failed" && exit 1; fi
cd ../
$BUILD kodiplatform_DIR=$(pwd) -C build/
$BUILD kodiplatform_DIR=$(pwd) CMAKE_PREFIX_PATH=/usr/osmc -C build/
if [ $? != 0 ]; then echo "Building binary addons failed" && exit 1; fi
popd
# Languages
Expand Down

0 comments on commit 114cc53

Please sign in to comment.