diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-07-11 05:00:14 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2019-07-14 09:59:27 -0700 |
commit | d9504f9aabccb6827c1f6bd9f7c697caf14c6323 (patch) | |
tree | a4eae7f73cda9423209e0a47598ca7f2c98f9055 /pkgs/applications/gis/openorienteering-mapper | |
parent | f34face72159d37bb3e65cca6caf84e93cef469f (diff) | |
download | nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar.gz nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar.bz2 nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar.lz nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar.xz nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.tar.zst nixlib-d9504f9aabccb6827c1f6bd9f7c697caf14c6323.zip |
openorienteering-mapper: fix build
Diffstat (limited to 'pkgs/applications/gis/openorienteering-mapper')
-rw-r--r-- | pkgs/applications/gis/openorienteering-mapper/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/gis/openorienteering-mapper/default.nix b/pkgs/applications/gis/openorienteering-mapper/default.nix index a5a0492ab876..b4d3e9f93a47 100644 --- a/pkgs/applications/gis/openorienteering-mapper/default.nix +++ b/pkgs/applications/gis/openorienteering-mapper/default.nix @@ -20,9 +20,6 @@ stdenv.mkDerivation rec { cmakeFlags = [ - # Required by the build to be specified - "-DPROJ4_ROOT=${proj}" - # Building the manual and bundling licenses fails "-DLICENSING_PROVIDER:BOOL=OFF" "-DMapper_MANUAL_QTHELP:BOOL=OFF" @@ -43,6 +40,8 @@ stdenv.mkDerivation rec { "-DMapper_PACKAGE_GDAL=0" ]); + # Needs to be available when proj_api.h gets evaluted by CPP + NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ]; postInstall = stdenv.lib.optionalString stdenv.isDarwin '' |