You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -459,6 +459,8 @@ if (SQLITECPP_BUILD_TESTS)
459
459
if (NOTEXISTS"${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt")
460
460
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")
461
461
endif ()
462
+
# don't build the googlemock subproject, only the main googletest library
463
+
set(BUILD_GMOCK OFFCACHEBOOL"Builds the googlemock subproject")
0 commit comments