10241: FindBISON.cmake clears wrong variable

This commit is contained in:
Philip Lowman 2010-08-19 21:49:29 -04:00
parent c873a83b6c
commit a53b47a77c
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ IF(BISON_EXECUTABLE)
# #
MACRO(BISON_TARGET Name BisonInput BisonOutput) MACRO(BISON_TARGET Name BisonInput BisonOutput)
SET(BISON_TARGET_output_header "") SET(BISON_TARGET_output_header "")
SET(BISON_TARGET_command_opt "") SET(BISON_TARGET_cmdopt "")
SET(BISON_TARGET_outputs "${BisonOutput}") SET(BISON_TARGET_outputs "${BisonOutput}")
IF(NOT ${ARGC} EQUAL 3 AND NOT ${ARGC} EQUAL 5 AND NOT ${ARGC} EQUAL 7) IF(NOT ${ARGC} EQUAL 3 AND NOT ${ARGC} EQUAL 5 AND NOT ${ARGC} EQUAL 7)
MESSAGE(SEND_ERROR "Usage") MESSAGE(SEND_ERROR "Usage")