summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2009-09-21 01:15:33 (GMT)
committerPhilip Lowman <philip@yhbt.com>2009-09-21 01:15:33 (GMT)
commita927ea410f235071df552354b8a40ea379e6e00b (patch)
treee9e8c09b3b9a28ef04b046a97878edfbd6f04e9d
parent450c30b52ba16d91a86f5ee1a6e368f283d9a725 (diff)
downloadCMake-a927ea410f235071df552354b8a40ea379e6e00b.zip
CMake-a927ea410f235071df552354b8a40ea379e6e00b.tar.gz
CMake-a927ea410f235071df552354b8a40ea379e6e00b.tar.bz2
Forgot to mark Protobuf cache variables as advanced
-rw-r--r--Modules/FindProtobuf.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake
index d0ea2b7..1713400 100644
--- a/Modules/FindProtobuf.cmake
+++ b/Modules/FindProtobuf.cmake
@@ -91,6 +91,11 @@ find_program(PROTOBUF_PROTOC_EXECUTABLE NAMES protoc
DOC "The Google Protocol Buffers Compiler"
)
+mark_as_advanced(PROTOBUF_INCLUDE_DIR
+ PROTOBUF_LIBRARY
+ PROTOBUF_PROTOC_LIBRARY
+ PROTOBUF_PROTOC_EXECUTABLE)
+
# Restore original find library prefixes
if(WIN32)
set(CMAKE_FIND_LIBRARY_PREFIXES ${PROTOBUF_ORIG_FIND_LIBRARY_PREFIXES})