From c6afe0653b33e752c4bfdc16cd8fadf8b457793d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Delgado=20Kr=C3=A4mer?= Date: Sun, 5 May 2024 16:40:09 +0200 Subject: [PATCH] GA: fix v23.11 Boost compile error on macOS ARM --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a723210..0856e5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,14 @@ jobs: - name: Generate build system files using CMake working-directory: BUILD - run: cmake .. -Dpxr_DIR=${{ inputs.usd-install-path }} -DCMAKE_BUILD_TYPE=${{ inputs.build-config }} -DGUC_BUILD_USDGLTF=ON ${{ inputs.extra-cmake-flags }} + # The libcpp option fixes a v23.11 Boost compile error on macOS ARM + run: | + cmake .. \ + -Dpxr_DIR=${{ inputs.usd-install-path }} \ + -DCMAKE_BUILD_TYPE=${{ inputs.build-config }} \ + -DGUC_BUILD_USDGLTF=ON \ + -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION=1 \ + ${{ inputs.extra-cmake-flags }} - name: Build guc working-directory: BUILD