From 22f82fc8caa6d65e20324c237940e3a668d312e9 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 29 Jul 2020 18:20:56 -0500 Subject: Revert "Merge pull request #94090 from sikmir/fix-cmake-hook" This reverts commit e36b1d4ad14cca19a82d586c67a71665a5ed3830, reversing changes made to c2ea7318bef4f50a6d1e07b54a479698ada1e7d4. Should go to staging. --- pkgs/applications/gis/openorienteering-mapper/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/gis') diff --git a/pkgs/applications/gis/openorienteering-mapper/default.nix b/pkgs/applications/gis/openorienteering-mapper/default.nix index 540fa2718975e..39f8694dd1774 100644 --- a/pkgs/applications/gis/openorienteering-mapper/default.nix +++ b/pkgs/applications/gis/openorienteering-mapper/default.nix @@ -56,6 +56,8 @@ mkDerivation rec { "-DLICENSING_PROVIDER:BOOL=OFF" "-DMapper_MANUAL_QTHELP:BOOL=OFF" ] ++ stdenv.lib.optionals stdenv.isDarwin [ + # Usually enabled on Darwin + "-DCMAKE_FIND_FRAMEWORK=never" # FindGDAL is broken and always finds /Library/Framework unless this is # specified "-DGDAL_INCLUDE_DIR=${gdal}/include" -- cgit 1.4.1