Fix CaffeProto CMake warning (#305)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 7 Jun 2018 11:05:46 +0000 (20:05 +0900)
committerSergey Vostokov/AI Tools Lab /SRR/Staff Engineer/삼성전자 <s.vostokov@samsung.com>
Thu, 7 Jun 2018 11:05:46 +0000 (14:05 +0300)
This commit fixes CMake warning emitted when DOWNLOAD_CAFFE is disabled.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
cmake/packages/CaffeProtoConfig.cmake

index 7863a24..2362d13 100644 (file)
@@ -1,5 +1,5 @@
 function(_CaffeProto_import)
-  nncc_find_package(CaffeSource)
+  nncc_find_package(CaffeSource QUIET)
 
   if(NOT CaffeSource_FOUND)
     set(CaffeProto_FOUND FALSE PARENT_SCOPE)