diff --git a/.github/workflows/cmake-freebsd.yml b/.github/workflows/cmake-freebsd.yml index 0210a0be..3dce5566 100644 --- a/.github/workflows/cmake-freebsd.yml +++ b/.github/workflows/cmake-freebsd.yml @@ -16,11 +16,15 @@ jobs: INSTALL_LOCATION: ${{github.workspace}}/SonivoxV3 steps: - uses: actions/checkout@v4 + - name: Temp Environment Variable + run: | + mkdir -p ${{github.workspace}}/temp + echo "TEMP=${{github.workspace}}/temp" >> "$GITHUB_ENV" - name: FreeBSD test id: test uses: vmactions/freebsd-vm@v1 with: - envs: 'BUILD_TYPE INSTALL_LOCATION' + envs: 'BUILD_TYPE INSTALL_LOCATION TEMP' usesh: true prepare: | pkg install -y \ diff --git a/.github/workflows/cmake-mac.yml b/.github/workflows/cmake-mac.yml index a1fb62bd..ab46de0f 100644 --- a/.github/workflows/cmake-mac.yml +++ b/.github/workflows/cmake-mac.yml @@ -19,6 +19,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Temp Environment Variable + run: | + mkdir -p ${{github.workspace}}/temp + echo "TEMP=${{github.workspace}}/temp" >> "$GITHUB_ENV" + - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}} diff --git a/CMakeLists.txt b/CMakeLists.txt index 9242de50..b60a256a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,8 +52,8 @@ if (BUILD_TESTING) set( BUILD_GMOCK OFF CACHE BOOL "Builds the googlemock subproject" FORCE ) include( FetchContent ) FetchContent_Declare( googletest - GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG release-1.15.2 + GIT_REPOSITORY "https://github.com/google/googletest.git" + GIT_TAG "v1.15.2" ) # For Windows: Prevent overriding the parent project's compiler/linker settings set( gtest_force_shared_crt ON CACHE BOOL "" FORCE )