Fix `ANTLR3_COMMAND` for system ANTLR3 JAR (#6399)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 20 Apr 2021 18:46:14 +0000 (11:46 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Apr 2021 18:46:14 +0000 (20:46 +0200)
commit1d5a6e4a0773064ca0f1465b5e94a301af4eee2e
tree481beea8d9e9870de9273c6bf453542d5b01e868
parent29d19c62ff1a65665f852134c24c17cca45251cd
Fix `ANTLR3_COMMAND` for system ANTLR3 JAR (#6399)

ANTLR3_COMMAND was using a fixed path instead of relying on the
ANTLR3_JAR variable. If the ANTLR3 JAR was found on the system (for
example due to an existing deps folder at the root of the CVC4
folder), then the command would fail because the JAR was not at the
expected location. This commit changes the command to use the variable
and prints the location of the JAR file to make debugging easier.
cmake/FindANTLR3.cmake