diff --git a/CMakeLists.txt b/CMakeLists.txt index 2480f70ee3..05034baac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") # test #------------------------------------------------------------------------------ if (BUILD_TESTS) - include(cmake/Googletest.cmake) + include(cmake/googletest.cmake) include(cmake/test.cmake) fetch_googletest() enable_testing() diff --git a/cmake/Googletest.cmake b/cmake/googletest.cmake similarity index 92% rename from cmake/Googletest.cmake rename to cmake/googletest.cmake index 20f66f5885..377ce686e5 100644 --- a/cmake/Googletest.cmake +++ b/cmake/googletest.cmake @@ -25,9 +25,9 @@ macro(fetch_googletest) # sequence parsing errors. PPT, 22-Nov-2018. file(TO_CMAKE_PATH ${CMAKE_MAKE_PROGRAM} CMAKE_MAKE_PROGRAM) if (GOOGLETEST_SRC_DIR) - configure_file(cmake/CMakeLists_googletest_src.txt.in ${GOOGLETEST_BUILD_ROOT}/googletest-config/CMakeLists.txt) + configure_file(cmake/googletest_src.txt.in ${GOOGLETEST_BUILD_ROOT}/googletest-config/CMakeLists.txt) else() - configure_file(cmake/CMakeLists_googletest_download.txt.in ${GOOGLETEST_BUILD_ROOT}/googletest-config/CMakeLists.txt) + configure_file(cmake/googletest_download.txt.in ${GOOGLETEST_BUILD_ROOT}/googletest-config/CMakeLists.txt) endif() message(STATUS "========== Installing GoogleTest... ==========") diff --git a/cmake/CMakeLists_googletest_download.txt.in b/cmake/googletest_download.txt.in similarity index 100% rename from cmake/CMakeLists_googletest_download.txt.in rename to cmake/googletest_download.txt.in diff --git a/cmake/CMakeLists_googletest_src.txt.in b/cmake/googletest_src.txt.in similarity index 100% rename from cmake/CMakeLists_googletest_src.txt.in rename to cmake/googletest_src.txt.in