[infra] Added comment for GTest (#9430)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Fri, 6 Dec 2019 03:56:02 +0000 (12:56 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 6 Dec 2019 03:56:02 +0000 (12:56 +0900)
Added comment for GTest. Handling GTest is different from other package so this comment explains about that.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
infra/cmake/packages/GTestConfig.cmake

index 1d56814..87eb8d5 100644 (file)
@@ -21,6 +21,9 @@ endfunction(_GTest_build)
 _GTest_build()
 
 ### Find and use pre-installed Google Test
+# Note: cmake supports GTest and does not find GTestConfig.cmake or GTest-config.cmake.
+# Refer to "https://cmake.org/cmake/help/v3.5/module/FindGTest.html"
+# find_package(GTest) creates options like GTEST_FOUND, not GTest_FOUND.
 find_package(GTest)
 find_package(Threads)