From c7922b2fd4a077de2b0df60760c109134fd9afd9 Mon Sep 17 00:00:00 2001 From: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 16 Jun 2019 09:24:01 +0200 Subject: [PATCH] macOS package creation fixed https://en.wikipedia.org/wiki/System_Integrity_Protection --- .ci/ci_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/ci_build.sh b/.ci/ci_build.sh index 5e53f1e5..6fb10e44 100755 --- a/.ci/ci_build.sh +++ b/.ci/ci_build.sh @@ -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