Skip to content

Commit 813c506

Browse files
committed
Rename install depends targets.
1 parent cd8e5e4 commit 813c506

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

InstallGBench.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ if(NOT GBENCH_FOUND OR USE_BUNDLED_GBENCH)
2828
set(GBENCH_URL_MD5 482dddb22bec43f5507a000456d6bb88)
2929
endif()
3030

31-
ExternalProject_Add(GoogleBench
31+
ExternalProject_Add(google-bench-depends
3232
DOWNLOAD_NAME GBench-${GBENCH_VERSION}.tar.gz
3333
URL https://github.com/google/benchmark/archive/v${GBENCH_VERSION}.tar.gz
3434
URL_MD5 ${GBENCH_URL_MD5}
3535
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON
3636
TEST_COMMAND ""
3737
)
3838

39-
ExternalProject_Get_Property(GoogleBench INSTALL_DIR)
39+
ExternalProject_Get_Property(google-bench-depends INSTALL_DIR)
4040

4141
if(MSVC)
4242
set(GBENCH_LIB_SUFFIX "lib")

InstallGTest.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if(NOT GTEST_FOUND OR USE_BUNDLED_GTEST)
3636
endif()
3737

3838
# Import Google Test Framework
39-
ExternalProject_Add(DependsGoogleTest
39+
ExternalProject_Add(google-test-depends
4040
GIT_REPOSITORY https://github.com/google/googletest.git
4141
GIT_TAG release-${GTEST_VERSION}
4242
CMAKE_ARGS -Dgmock_build_tests=OFF
@@ -54,7 +54,7 @@ if(NOT GTEST_FOUND OR USE_BUNDLED_GTEST)
5454
)
5555

5656
# Google Test include and binary directories
57-
ExternalProject_Get_Property(DependsGoogleTest source_dir binary_dir)
57+
ExternalProject_Get_Property(google-test-depends source_dir binary_dir)
5858

5959
set(GTEST_INCLUDE_DIR "${source_dir}/googletest/include")
6060
set(GMOCK_INCLUDE_DIR "${source_dir}/googlemock/include")

InstallRapidJSON.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON)
2828
set(RAPIDJSON_URL_MD5 badd12c511e081fec6c89c43a7027bce)
2929
endif()
3030

31-
ExternalProject_Add(DependsRapidJSON
31+
ExternalProject_Add(rapid-json-depends
3232
DOWNLOAD_NAME RapidJSON-${RAPIDJSON_VERSION}.tar.gz
3333
URL https://github.com/miloyip/rapidjson/archive/v${RAPIDJSON_VERSION}.tar.gz
3434
URL_MD5 ${RAPIDJSON_URL_MD5}
@@ -40,7 +40,7 @@ if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON)
4040
TEST_COMMAND ""
4141
)
4242

43-
ExternalProject_Get_Property(DependsRapidJSON INSTALL_DIR)
43+
ExternalProject_Get_Property(rapid-json-depends INSTALL_DIR)
4444

4545
set(RAPIDJSON_ROOT_DIR ${INSTALL_DIR})
4646
set(RAPIDJSON_INCLUDE_DIRS ${RAPIDJSON_ROOT_DIR}/include)

0 commit comments

Comments
 (0)