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:
squalus 2022-04-29 19:13:14 -07:00
parent b9387eced5
commit ac0a7e8e05

View File

@ -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 =