mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
proj: support cross compile
Add a cmakeFlag to point to a sqlite3 binary that can be run at build time
This commit is contained in:
parent
b9387eced5
commit
ac0a7e8e05
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, buildPackages
|
||||
, sqlite
|
||||
, libtiff
|
||||
, curl
|
||||
@ -33,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||
"-DUSE_EXTERNAL_GTEST=ON"
|
||||
"-DRUN_NETWORK_DEPENDENT_TESTS=OFF"
|
||||
"-DNLOHMANN_JSON_ORIGIN=external"
|
||||
"-DEXE_SQLITE3=${buildPackages.sqlite}/bin/sqlite3"
|
||||
];
|
||||
|
||||
preCheck =
|
||||
|
Loading…
Reference in New Issue
Block a user