Skip to content

Commit

Permalink
Fix empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
wweic committed Mar 5, 2019
1 parent d259d60 commit bd756cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/ANTLR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if(USE_ANTLR)
/usr/local/lib/antlr-*-complete.jar
/usr/local/Cellar/*antlr-*-complete.jar)

if(DEFINED ANTLR4)
if(DEFINED ANTLR4 AND ANTLR4)
# Get the first element of the list of antlr jars.
# Sort and reverse the list so the item selected is the highest
# version in lib or else in Cellar if no lib installation exists.
Expand Down

0 comments on commit bd756cc

Please sign in to comment.