macOS package creation fixed

https://en.wikipedia.org/wiki/System_Integrity_Protection
This commit is contained in:
Paulchen Panther 2019-06-16 09:24:01 +02:00 committed by GitHub
parent 5e1398a7e5
commit c7922b2fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ if [[ "$CI_NAME" == 'osx' || "$CI_NAME" == 'darwin' ]]; then
mkdir build || exit 1
mkdir ${CI_BUILD_DIR}/deploy || exit 1
cd build
cmake -DPLATFORM=$PLATFORM -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=/usr .. || exit 2
cmake -DPLATFORM=$PLATFORM -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ../ || exit 2
make -j ${JOBS} || exit 3
if [[ "$PACKAGES" == 'package' ]]; then
sudo cpack