aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-05-23 10:38:32 +0100
committerSimon Tatham <anakin@pobox.com>2021-05-25 10:44:28 +0100
commit806e4e4088be9f03da78aba8eb8cdda23d7c9cb6 (patch)
tree3678f047bba879af63b801c21263e3d8e67b11fd /pattern.c
parentf729f51e475ff98d0caf529f0723ef810b1c88ef (diff)
downloadpuzzles-806e4e4088be9f03da78aba8eb8cdda23d7c9cb6.zip
puzzles-806e4e4088be9f03da78aba8eb8cdda23d7c9cb6.tar.gz
puzzles-806e4e4088be9f03da78aba8eb8cdda23d7c9cb6.tar.bz2
puzzles-806e4e4088be9f03da78aba8eb8cdda23d7c9cb6.tar.xz
nestedvm.cmake: fix accidental use of dynamic scope.
In this platform's set_platform_puzzle_target_properties, I referred to ${EXENAME} twice, which is not one of the function parameters. It worked anyway, because CMake has dynamic scope, and that variable was defined - to the right value - within the local-variable scope of the calling function. But that wasn't at all what I meant to do! Renamed it to ${TARGET}, which is the actual parameter name we get passed.
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions