We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e6771 commit d600ad5Copy full SHA for d600ad5
.github/workflows/main.yml
@@ -57,6 +57,10 @@ jobs:
57
58
export INSTALL_DIR=`pwd`/install
59
60
+ # https://github.com/antlr/antlr4/pull/4800
61
+ sed -i '6i include(GNUInstallDirs)' third_party/antlr4/runtime/Cpp/runtime/CMakeLists.txt
62
+ sed 's|\(set.*libantlrcpp_INCLUDE_INSTALL_DIR "\)include/|\1${CMAKE_INSTALL_INCLUDEDIR}/|' -i third_party/antlr4/runtime/Cpp/runtime/CMakeLists.txt
63
+
64
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR $CMAKE_ADDITIONAL_ARGS -S . -B build
65
cmake --build build -j $(nproc)
66
cmake --install build
third_party/antlr4
0 commit comments