Repository: parquet-cpp
Updated Branches:
  refs/heads/master ca0f3f710 -> 62905f90c


PARQUET-956: Specify BUILD_BYPRODUCTS for gtest

Author: Uwe L. Korn <[email protected]>

Closes #301 from xhochy/PARQUET-956 and squashes the following commits:

ea4b7cf [Uwe L. Korn] PARQUET-956: Specify BUILD_BYPRODUCTS for gtest


Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/62905f90
Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/62905f90
Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/62905f90

Branch: refs/heads/master
Commit: 62905f90c75f8891f2e91cb39a29efe56afed614
Parents: ca0f3f7
Author: Uwe L. Korn <[email protected]>
Authored: Tue Apr 18 13:12:17 2017 -0400
Committer: Wes McKinney <[email protected]>
Committed: Tue Apr 18 13:12:17 2017 -0400

----------------------------------------------------------------------
 cmake_modules/ThirdpartyToolchain.cmake | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/62905f90/cmake_modules/ThirdpartyToolchain.cmake
----------------------------------------------------------------------
diff --git a/cmake_modules/ThirdpartyToolchain.cmake 
b/cmake_modules/ThirdpartyToolchain.cmake
index 15a20bd..2b31e97 100644
--- a/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cmake_modules/ThirdpartyToolchain.cmake
@@ -281,6 +281,7 @@ if(PARQUET_BUILD_TESTS AND NOT IGNORE_OPTIONAL_PACKAGES)
       # BUILD_BYPRODUCTS is a 3.2+ feature
       ExternalProject_Add(googletest_ep
         URL 
"https://github.com/google/googletest/archive/release-${GTEST_VERSION}.tar.gz";
+        BUILD_BYPRODUCTS ${GTEST_STATIC_LIB} ${GTEST_MAIN_STATIC_LIB}
         CMAKE_ARGS ${GTEST_CMAKE_ARGS})
     else()
       ExternalProject_Add(googletest_ep

Reply via email to