diff --git a/CMakeLists.txt b/CMakeLists.txt index c5e3623dd13..ecf72afbad4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/cmake/FindGRASS.cmake b/cmake/FindGRASS.cmake index 11c94bc7ad7..0ddc8efeeea 100644 --- a/cmake/FindGRASS.cmake +++ b/cmake/FindGRASS.cmake @@ -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})