- Some fixes for GUI by hiding variables.

This commit is contained in:
ccremers 2007-01-07 17:32:15 +00:00
parent 5e300ee18c
commit e508befbf5
3 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
FIND_PROGRAM(BISON_EXECUTABLE NAMES bison)
mark_as_advanced(BISON_DIR Bison_DIR)
#INCLUDE(MacroEnsureVersion)

View File

@ -8,6 +8,7 @@
FIND_PROGRAM(FLEX_EXECUTABLE NAMES flex)
mark_as_advanced(FLEX_DIR Flex_DIR)
#INCLUDE(MacroEnsureVersion)

View File

@ -13,8 +13,10 @@ set_source_files_properties(version.h
PROPERTIES
GENERATED true)
find_program (SVNVERSION_EXECUTABLE NAMES svnversion)
mark_as_advanced (SVNVERSION_EXECUTABLE)
if (SVNVERSION_EXECUTABLE)
# svnversion found; we should always build this
mark_as_advanced (SVN_Version)
message (STATUS "Generating version.h using svnversion command")
exec_program (${SVNVERSION_EXECUTABLE}
OUTPUT_VARIABLE SVN_Version