Skip to content

Commit 7786f80

Browse files
jeongseok-metafacebook-github-bot
authored andcommitted
Disable installing gtest and gmock (#33)
Summary: Pull Request resolved: #33 Otherwise, gtest and gmock are installed with Dispenso: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=959974&view=logs&j=6f142865-96c3-535c-b7ea-873d86b887bd&t=22b0682d-ab9e-55d7-9c79-49f3c3ba4823&l=2701 Reviewed By: EscapeZero Differential Revision: D58911890 fbshipit-source-id: dd0cb994574c18eaf92a17bfb8095ec9cba4709b
1 parent 45c602c commit 7786f80

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
cmake_minimum_required(VERSION 3.14)
27

38
### TODO(bbudge): Set up testing with github actions
@@ -13,6 +18,7 @@ FetchContent_Declare(
1318

1419
# For Windows, Prevent overriding the parent project's compiler/linker settings
1520
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
21+
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
1622
FetchContent_MakeAvailable(GoogleTest)
1723
include(GoogleTest)
1824

0 commit comments

Comments
 (0)