Skip to content
Permalink
Browse files
Hide LIBRARY_OUTPUT_PATH and LIB_PATH
git-svn-id: http://svn.osgeo.org/qgis/trunk@6883 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 12, 2007
1 parent fe77a6a commit 47d2a31c36f54413fa7838eb8394757143386953
Showing with 7 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
  2. +3 −0 cmake/FindGRASS.cmake
@@ -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
@@ -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})

0 comments on commit 47d2a31

Please sign in to comment.