Sort environment variable entries in ThirdpartyToolchain.cmake

This commit is contained in:
David Li authored and Wes McKinney committed 2019-01-19 19:23:38 -06:00
1 parent 3f7a41cfd8
commit 5756129aa8
1 file changed
+4 -4
+4 -4
View File
@@ -69,6 +69,10 @@ if (DEFINED ENV{BZ2_HOME})
set(BZ2_HOME "$ENV{BZ2_HOME}")
endif()
if (DEFINED ENV{CARES_HOME})
set(CARES_HOME "$ENV{CARES_HOME}")
endif()
if (DEFINED ENV{DOUBLE_CONVERSION_HOME})
set(DOUBLE_CONVERSION_HOME "$ENV{DOUBLE_CONVERSION_HOME}")
endif()
@@ -89,10 +93,6 @@ if (DEFINED ENV{GRPC_HOME})
set(GRPC_HOME "$ENV{GRPC_HOME}")
endif()
if (DEFINED ENV{CARES_HOME})
set(CARES_HOME "$ENV{CARES_HOME}")
endif()
if (DEFINED ENV{GTEST_HOME})
set(GTEST_HOME "$ENV{GTEST_HOME}")
endif()