Only set GTest_SOURCE to BUNDLED on MSVC if not passed explicitly

This commit is contained in:
Wes McKinney committed 2019-05-30 12:36:32 -05:00
1 parent 8678632dc8
commit 515f75b09d
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ set(ARROW_THIRDPARTY_DEPENDENCIES
# supported when building with MSVC because of the way that
# conda-forge packages have 4 variants of the libraries packaged
# together
if(MSVC)
if(MSVC AND "${GTest_SOURCE}" STREQUAL "")
set(GTest_SOURCE "BUNDLED")
endif()