mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
macOS package creation fixed
https://en.wikipedia.org/wiki/System_Integrity_Protection
This commit is contained in:
parent
5e1398a7e5
commit
c7922b2fd4
@ -49,7 +49,7 @@ if [[ "$CI_NAME" == 'osx' || "$CI_NAME" == 'darwin' ]]; then
|
|||||||
mkdir build || exit 1
|
mkdir build || exit 1
|
||||||
mkdir ${CI_BUILD_DIR}/deploy || exit 1
|
mkdir ${CI_BUILD_DIR}/deploy || exit 1
|
||||||
cd build
|
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
|
make -j ${JOBS} || exit 3
|
||||||
if [[ "$PACKAGES" == 'package' ]]; then
|
if [[ "$PACKAGES" == 'package' ]]; then
|
||||||
sudo cpack
|
sudo cpack
|
||||||
|
Loading…
Reference in New Issue
Block a user