Merge topic 'FindBISON-fix-rebuild'

c087072e FindBISON: Do not rebuild every time when not VERBOSE
This commit is contained in:
Brad King
2016-11-15 09:25:54 -05:00
committed by CMake Topic Stage

View File

@@ -228,7 +228,7 @@ if(BISON_EXECUTABLE)
list(APPEND BISON_TARGET_outputs "${BISON_TARGET_output_header}")
add_custom_command(OUTPUT ${BISON_TARGET_outputs}
${BISON_TARGET_verbose_file}
${BISON_TARGET_extraoutputs}
COMMAND ${BISON_EXECUTABLE} ${BISON_TARGET_cmdopt} -o ${BisonOutput} ${BisonInput}
VERBATIM
DEPENDS ${BisonInput}