on mac os x, build against local toluapp, so later rpath fixing works

Signed-off-by: Tim Felgentreff <timfelgentreff@gmail.com>
This commit is contained in:
Tim 2016-01-05 15:26:20 +01:00 committed by Tim Felgentreff
parent 7b8962feb5
commit 68997a9233

View file

@ -20,11 +20,12 @@ before_script:
- "if [ $TRAVIS_OS_NAME == osx ]; then brew install lua51 sdl; \
git clone https://github.com/LuaDist/toluapp.git; \
cd toluapp; mkdir build;
cd build; cmake ..; make && sudo make install; \
cd build; cmake ..; make; \
export CMAKEARGS=\"-DTOLUA++_INCLUDE_DIR=$(pwd)/../include/ -DTOLUA++_LIBRARY=$(pwd)/libtoluapp.dylib -DTOLUA++_APP=$(pwd)/toluapp\"
cd ..;
cd ..;
fi"
- mkdir build
- cd build
- cmake ..
- cmake $CMAKEARGS ..
script: make