Skip to content

Commit

Permalink
Build against newer versions of antlr4 (4.13 and 4.13.1) without havi…
Browse files Browse the repository at this point in the history
…ng to manually specify jar path
  • Loading branch information
timkpaine committed Sep 15, 2023
1 parent 7b65d5a commit dea67fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/FindANTLR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ find_package(Java QUIET COMPONENTS Runtime)
# ANTLR JAR HANDLING
if(NOT ANTLR_JAR_LOCATION)
find_file(ANTLR_JAR_LOCATION
NAMES antlr-4.12.0-complete.jar antlr.jar antlr4.jar antlr-4.jar
NAMES antlr-4.12.0-complete.jar antlr-4.13.0-complete.jar antlr-4.13.1-complete.jar antlr.jar antlr4.jar antlr-4.jar
HINTS /usr /usr/local /usr/local/share /usr/local/share/java /usr/local/lib/ /usr/share /usr/share/java /usr/local/Homebrew ~/homebrew /usr/local/homebrew/Cellar /opt/homebrew/Cellar
PATH_SUFFIXES antlr 4.12.0 antlr/4.12.0
PATH_SUFFIXES antlr 4.12.0 4.13.0 4.13.1 antlr/4.12.0 antlr/4.13.0 antlr/4.13.1
NO_CMAKE_SYSTEM_PATH
NO_SYSTEM_ENVIRONMENT_PATH)
message("ANTLR Jar: ${ANTLR_JAR_LOCATION}")
Expand Down

0 comments on commit dea67fa

Please sign in to comment.