Commit 8a236e24 authored by yurket's avatar yurket
Browse files

gplates: fix failing build

Started failing after the commit 11ea0e99 (Python 3.9->3.10 upgrade) with error:

    CMake Error at .../lib/cmake/Boost-1.75.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by boost_python310

It appears that boost <= 1.78 fails to find Python with double digits in the minor version (like X.YZ)
parent 2741fd82
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -14,13 +14,15 @@
, libGLU
, mpfr
, proj
, python3
# build with Python 3.10 fails, because boost <= 1.78 can't find
# pythons with double digits in minor versions, like X.YZ
, python39
, qtxmlpatterns
, qwt
}:

let
  python = python3.withPackages (ps: with ps; [
  python = python39.withPackages (ps: with ps; [
    numpy
  ]);
  boost' = boost.override {