- Some fixes for GUI by hiding variables.
This commit is contained in:
parent
5e300ee18c
commit
e508befbf5
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
FIND_PROGRAM(BISON_EXECUTABLE NAMES bison)
|
FIND_PROGRAM(BISON_EXECUTABLE NAMES bison)
|
||||||
|
mark_as_advanced(BISON_DIR Bison_DIR)
|
||||||
|
|
||||||
#INCLUDE(MacroEnsureVersion)
|
#INCLUDE(MacroEnsureVersion)
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
FIND_PROGRAM(FLEX_EXECUTABLE NAMES flex)
|
FIND_PROGRAM(FLEX_EXECUTABLE NAMES flex)
|
||||||
|
mark_as_advanced(FLEX_DIR Flex_DIR)
|
||||||
|
|
||||||
#INCLUDE(MacroEnsureVersion)
|
#INCLUDE(MacroEnsureVersion)
|
||||||
|
|
||||||
|
@ -13,8 +13,10 @@ set_source_files_properties(version.h
|
|||||||
PROPERTIES
|
PROPERTIES
|
||||||
GENERATED true)
|
GENERATED true)
|
||||||
find_program (SVNVERSION_EXECUTABLE NAMES svnversion)
|
find_program (SVNVERSION_EXECUTABLE NAMES svnversion)
|
||||||
|
mark_as_advanced (SVNVERSION_EXECUTABLE)
|
||||||
if (SVNVERSION_EXECUTABLE)
|
if (SVNVERSION_EXECUTABLE)
|
||||||
# svnversion found; we should always build this
|
# svnversion found; we should always build this
|
||||||
|
mark_as_advanced (SVN_Version)
|
||||||
message (STATUS "Generating version.h using svnversion command")
|
message (STATUS "Generating version.h using svnversion command")
|
||||||
exec_program (${SVNVERSION_EXECUTABLE}
|
exec_program (${SVNVERSION_EXECUTABLE}
|
||||||
OUTPUT_VARIABLE SVN_Version
|
OUTPUT_VARIABLE SVN_Version
|
||||||
|
Loading…
Reference in New Issue
Block a user