This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 8cf05f9 ARROW-4597: [C++] Targets for system Google Mock shared
library are missing
8cf05f9 is described below
commit 8cf05f9cd27b09ecb1b16a11180c9b27648cbb33
Author: Kouhei Sutou <[email protected]>
AuthorDate: Mon Feb 18 23:01:40 2019 +0100
ARROW-4597: [C++] Targets for system Google Mock shared library are missing
Author: Kouhei Sutou <[email protected]>
Closes #3673 from kou/cpp-system-shared-gmock and squashes the following
commits:
81148876 <Kouhei Sutou> Targets for system Google Mock shared library are
missing
---
cpp/cmake_modules/ThirdpartyToolchain.cmake | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index 61266cd..041e5c4 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -734,6 +734,10 @@ if(ARROW_BUILD_TESTS OR ARROW_BUILD_BENCHMARKS)
SHARED_LIB ${GTEST_SHARED_LIB})
ADD_THIRDPARTY_LIB(gtest_main
SHARED_LIB ${GTEST_MAIN_SHARED_LIB})
+ ADD_THIRDPARTY_LIB(gmock
+ SHARED_LIB ${GMOCK_SHARED_LIB})
+ ADD_THIRDPARTY_LIB(gmock_main
+ SHARED_LIB ${GMOCK_MAIN_SHARED_LIB})
set(GTEST_LIBRARY gtest_shared)
set(GTEST_MAIN_LIBRARY gtest_main_shared)
set(GMOCK_LIBRARY gmock_shared)