From f194486a6dc9e59bd294012e4d6abb2ce84c338c Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Tue, 20 Jul 2021 09:11:15 -0700 Subject: [PATCH] ANTLR3: Install into `CMAKE_INSTALL_LIBDIR` (#6912) On some platforms, autotools installs ANTLR3's libraries into lib but CMAKE_INSTALL_LIBDIR is set to lib64 (e.g., Fedora 33). This commit sets --libdir to force autotools to install the library into the directory specified by CMAKE_INSTALL_LIBDIR. --- cmake/FindANTLR3.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FindANTLR3.cmake b/cmake/FindANTLR3.cmake index ea0c4131f..373182904 100644 --- a/cmake/FindANTLR3.cmake +++ b/cmake/FindANTLR3.cmake @@ -112,6 +112,7 @@ if(NOT ANTLR3_FOUND_SYSTEM) --with-pic --disable-antlrdebug --prefix= + --libdir=/${CMAKE_INSTALL_LIBDIR} --srcdir= --disable-shared --enable-static -- 2.30.2