From 9108bbb60f6404bb54118699fa819a48c6cc4392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Sun, 12 Jan 2020 22:07:23 +0100 Subject: [PATCH] Add CMake messages about Googletest link / compilation --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 424b26f..c757d69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -337,8 +337,10 @@ if (SQLITECPP_BUILD_TESTS) find_package(GTest) if (GTEST_FOUND) + message(STATUS "Link to GTest system library") target_link_libraries(SQLiteCpp_tests GTest::GTest GTest::Main SQLiteCpp sqlite3) else (GTEST_FOUND) + message(STATUS "Compile googletest from source in submodule") # deactivate some warnings for compiling the googletest library if (NOT MSVC) add_compile_options(-Wno-switch-enum)