use cmake to set prefix, instead of DESTDIR env variable

This commit is contained in:
wiredfool 2014-03-26 11:31:06 -07:00
parent 89507d16e3
commit 9e5d597b4d

View File

@ -24,7 +24,7 @@ install:
- "wget 'https://openjpeg.googlecode.com/files/openjpeg-2.0.0.tar.gz' -O /tmp/openjpeg-2.0.0.tar.gz"
- "tar -C /tmp -xvzf /tmp/openjpeg-2.0.0.tar.gz"
- "pushd /tmp/openjpeg-2.0.0 && cmake . && make && sudo DESTDIR=/usr make install && popd"
- "pushd /tmp/openjpeg-2.0.0 && cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install && popd"
script:
- python setup.py clean