Skip to content

Commit 28e72f3

Browse files
author
Travis Howse
committed
Fix error message regarding git submodule init/update.
1 parent d1a610f commit 28e72f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ if (SQLITECPP_BUILD_TESTS)
290290
# add the subdirectory containing the CMakeLists.txt for the gtest library
291291
# TODO: under Linux, uses libgtest-dev if found
292292
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt")
293-
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")
293+
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")
294294
endif ()
295295
add_subdirectory(googletest)
296296
include_directories("${PROJECT_SOURCE_DIR}/googletest/googletest/include")

0 commit comments

Comments
 (0)