From 0e8ce84915d4c3bfb1c6668e640e2f53f62288fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Fri, 6 Dec 2019 12:56:02 +0900 Subject: [PATCH] [infra] Added comment for GTest (#9430) Added comment for GTest. Handling GTest is different from other package so this comment explains about that. Signed-off-by: Hyun Sik Yoon --- infra/cmake/packages/GTestConfig.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infra/cmake/packages/GTestConfig.cmake b/infra/cmake/packages/GTestConfig.cmake index 1d56814..87eb8d5 100644 --- a/infra/cmake/packages/GTestConfig.cmake +++ b/infra/cmake/packages/GTestConfig.cmake @@ -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) -- 2.7.4