Revert "Merge pull request #94090 from sikmir/fix-cmake-hook"

This reverts commit e36b1d4ad1, reversing
changes made to c2ea7318be.

Should go to staging.
This commit is contained in:
Matthew Bauer
2020-07-29 18:20:56 -05:00
parent e36b1d4ad1
commit 22f82fc8ca
4 changed files with 5 additions and 3 deletions
@@ -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"