antlr4: install CMake config files

This commit is contained in:
Nicolas Dudebout 2021-11-25 06:40:11 -05:00 committed by Kerstin
parent 1de042bc0a
commit 0b12f0c1c9

View file

@ -22,6 +22,10 @@ let
buildInputs = lib.optional stdenv.isLinux libuuid
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation;
# Install CMake config files, used to locate the runtime from another
# CMake project, using the find_package function.
cmakeFlags = [ "-DANTLR4_INSTALL=ON" ];
postUnpack = ''
export sourceRoot=$sourceRoot/runtime/Cpp
'';