Skip to content

Commit 9108bbb

Browse files
committed
Add CMake messages about Googletest link / compilation
1 parent eadd166 commit 9108bbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,10 @@ if (SQLITECPP_BUILD_TESTS)
337337

338338
find_package(GTest)
339339
if (GTEST_FOUND)
340+
message(STATUS "Link to GTest system library")
340341
target_link_libraries(SQLiteCpp_tests GTest::GTest GTest::Main SQLiteCpp sqlite3)
341342
else (GTEST_FOUND)
343+
message(STATUS "Compile googletest from source in submodule")
342344
# deactivate some warnings for compiling the googletest library
343345
if (NOT MSVC)
344346
add_compile_options(-Wno-switch-enum)

0 commit comments

Comments
 (0)