diff --git a/steps/08-test.sh b/steps/08-test.sh index 772f1c3..e61eb2a 100755 --- a/steps/08-test.sh +++ b/steps/08-test.sh @@ -52,9 +52,11 @@ case "$OS" in ;; esac CMAKE_ARGS+=( + -G Xcode -D CMAKE_SYSTEM_NAME="iOS" -D CMAKE_OSX_SYSROOT="$SDK" -D CMAKE_OSX_ARCHITECTURES="$ARCH" + -D CMAKE_OSX_DEPLOYMENT_TARGET="15.0" # https://discourse.cmake.org/t/find-package-stops-working-when-cmake-system-name-ios/4609/7 -D CMAKE_FIND_ROOT_PATH_MODE_PACKAGE="BOTH" -D CMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH"