mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
antlr4: install CMake config files
This commit is contained in:
parent
1de042bc0a
commit
0b12f0c1c9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue