Skip to content

Commit e9424e6

Browse files
committed
Change name from install scripts.
1 parent 97141b7 commit e9424e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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(GoogleTest
39+
ExternalProject_Add(DependsGoogleTest
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(GoogleTest source_dir binary_dir)
57+
ExternalProject_Get_Property(DependsGoogleTest 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
@@ -27,15 +27,15 @@ if(NOT RAPIDJSON_FOUND OR USE_BUNDLED_RAPIDJSON)
2727
set(RAPIDJSON_URL_MD5 badd12c511e081fec6c89c43a7027bce)
2828
endif()
2929

30-
ExternalProject_Add(RapidJson
30+
ExternalProject_Add(DependsRapidJSON
3131
DOWNLOAD_NAME RapidJSON-${RAPIDJSON_VERSION}.tar.gz
3232
URL https://github.com/miloyip/rapidjson/archive/v${RAPIDJSON_VERSION}.tar.gz
3333
URL_MD5 ${RAPIDJSON_URL_MD5}
3434
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
3535
TEST_COMMAND ""
3636
)
3737

38-
ExternalProject_Get_Property(RapidJson INSTALL_DIR)
38+
ExternalProject_Get_Property(DependsRapidJSON INSTALL_DIR)
3939

4040
set(RAPIDJSON_ROOT_DIR ${INSTALL_DIR})
4141
set(RAPIDJSON_INCLUDE_DIRS ${RAPIDJSON_ROOT_DIR}/include)

0 commit comments

Comments
 (0)