aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/external/googletest.cmake
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2018-06-26 14:57:40 -0700
committerGravatar GitHub <noreply@github.com>2018-06-26 14:57:40 -0700
commitd03050653ff84e624def93aa512ef35907f5792a (patch)
treecef0fb6ef7e28a3302e1578f83a8fd8d57099eba /cmake/external/googletest.cmake
parentae7078ca2bdd362df43e5fdba0261c5c84c1b447 (diff)
Install googletest (#1461)
Also add FindGMock to Find gmock after installation
Diffstat (limited to 'cmake/external/googletest.cmake')
-rw-r--r--cmake/external/googletest.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmake/external/googletest.cmake b/cmake/external/googletest.cmake
index f48c357..3af136e 100644
--- a/cmake/external/googletest.cmake
+++ b/cmake/external/googletest.cmake
@@ -24,10 +24,9 @@ ExternalProject_Add(
PREFIX ${PROJECT_BINARY_DIR}/external/googletest
- # Just download the sources without building.
+ CMAKE_CACHE_ARGS
+ -DCMAKE_INSTALL_PREFIX:STRING=${FIREBASE_INSTALL_DIR}
+
UPDATE_COMMAND ""
- CONFIGURE_COMMAND ""
- BUILD_COMMAND ""
- INSTALL_COMMAND ""
TEST_COMMAND ""
)