From 28e72f3ec07ad788d534c964dbbe9f12fbafe43f Mon Sep 17 00:00:00 2001 From: Travis Howse Date: Fri, 1 Feb 2019 14:34:46 +1000 Subject: [PATCH] Fix error message regarding git submodule init/update. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a798571..ccb016b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,7 +290,7 @@ if (SQLITECPP_BUILD_TESTS) # add the subdirectory containing the CMakeLists.txt for the gtest library # TODO: under Linux, uses libgtest-dev if found if (NOT EXISTS "${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt") - message(FATAL_ERROR "Missing 'googletest' submodule! Either use 'git init submodule' and 'git update submodule' to get googletest according to the README, or deactivate unit tests with -DSQLITECPP_BUILD_TESTS=OFF") + message(FATAL_ERROR "Missing 'googletest' submodule! Either use 'git submodule init' and 'git submodule update' to get googletest according to the README, or deactivate unit tests with -DSQLITECPP_BUILD_TESTS=OFF") endif () add_subdirectory(googletest) include_directories("${PROJECT_SOURCE_DIR}/googletest/googletest/include")