summaryrefslogtreecommitdiffstats
path: root/Source/cmSetCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-09 12:25:16 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-09 12:55:54 (GMT)
commitc64797fa94de29ef3f5f9c940273036c9ebf64ee (patch)
tree8d87ddb1739d2adb3fbcd0a179ce577bfabf5edc /Source/cmSetCommand.h
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
downloadCMake-c64797fa94de29ef3f5f9c940273036c9ebf64ee.zip
CMake-c64797fa94de29ef3f5f9c940273036c9ebf64ee.tar.gz
CMake-c64797fa94de29ef3f5f9c940273036c9ebf64ee.tar.bz2
FindBISON: Fix "multiple rules generate" error on VERBOSE output
When `BISON_TARGET` is called with both VERBOSE <extra-file> REPORT_FILE <file> we add a custom command to copy `<file>` to `<extra-file>`. The change in commit v3.7.1~10^2 (FindBISON: Do not rebuild every time when not VERBOSE, 2016-11-14) incorrectly listed the extra file as an output of the main bison invocation custom command, but it is actually produced by the separate copy command. Fix the logic to always generate `<file>` as an output of the bison command and `<extra-file>` as an output of the copy command. Fixes: #18433
Diffstat (limited to 'Source/cmSetCommand.h')
0 files changed, 0 insertions, 0 deletions