diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index a2c88fc..385c546 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -6,7 +6,6 @@ concurrency: on: push: - branches: [ main ] pull_request: branches: [ main ] diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index a3ddada..039d237 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -6,7 +6,6 @@ concurrency: on: push: - branches: [ main ] pull_request: branches: [ main ] diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index a7f2f10..b63028d 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -1,7 +1,6 @@ name: CI_iOS on: push: - branches: [ main ] pull_request: branches: [ main ] diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 380249a..f428766 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -20,6 +20,8 @@ include(FetchContent) FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG 1b18723e874b256c1e39378c6774a90701d70f7a) +set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) +set(BUILD_GMOCK OFF CACHE BOOL "" FORCE) # For Windows: Prevent overriding the parent project's compiler/linker settings set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) FetchContent_MakeAvailable(googletest)