mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 09:11:58 -05:00
Add logs
This commit is contained in:
parent
dfb1bdd7e1
commit
b23c7f5cc8
@ -15,6 +15,7 @@ endif()
|
|||||||
|
|
||||||
pkg_search_module(GTestMain gtest_main)
|
pkg_search_module(GTestMain gtest_main)
|
||||||
if (NOT GTestMain_FOUND)
|
if (NOT GTestMain_FOUND)
|
||||||
|
message(INFO, "Manually building googletest")
|
||||||
# No pre-installed GTest is available, try to download it using Git.
|
# No pre-installed GTest is available, try to download it using Git.
|
||||||
find_package(Git REQUIRED QUIET)
|
find_package(Git REQUIRED QUIET)
|
||||||
|
|
||||||
@ -45,6 +46,7 @@ if (NOT GTestMain_FOUND)
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/googletest-build
|
${CMAKE_CURRENT_BINARY_DIR}/googletest-build
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
message(INFO, "Done: Manually building googletest")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user