Skip to content

Commit

Permalink
[infra] GTest skip message when source not found (#8458)
Browse files Browse the repository at this point in the history
This will add CMake status message when GTestSource was not found.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
  • Loading branch information
seanshpark authored Feb 22, 2022
1 parent fbab8d4 commit 9c0e052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/cmake/packages/GTestConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function(_GTest_build)
nnas_find_package(GTestSource QUIET)

if(NOT GTestSource_FOUND)
message(STATUS "GTest_build skip: NOT GTestSource_FOUND")
return()
endif(NOT GTestSource_FOUND)

Expand Down

0 comments on commit 9c0e052

Please sign in to comment.