Hide LIBRARY_OUTPUT_PATH and LIB_PATH

git-svn-id: http://svn.osgeo.org/qgis/trunk@6883 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2007-04-12 12:20:05 +00:00
parent fe77a6ac12
commit 47d2a31c36
2 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,10 @@ SET (BINDINGS_GLOBAL_INSTALL FALSE CACHE BOOL "Install bindings to global python
# Compile flag. Make it posible to turn it off.
SET (PEDANTIC TRUE CACHE BOOL "Determines if we should compile with -Wall -Werror.")
# hide this variable because building of python bindings might fail
# if set to other directory than expected
MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH)
#############################################################
# check if lexer and parser are not missing
# http://www.mail-archive.com/cmake@cmake.org/msg02861.html

View File

@ -23,6 +23,9 @@ MACRO (CHECK_GRASS G_PREFIX)
ENDFOREACH (LIB)
# LIB_PATH is only temporary variable, so hide it (is it possible to delete a variable?)
MARK_AS_ADVANCED(LIB_PATH)
IF (GRASS_INCLUDE_DIR AND GRASS_LIBRARIES)
SET (GRASS_FOUND TRUE)
SET (GRASS_PREFIX ${G_PREFIX})