Skip to content
Snippets Groups Projects
Commit 7fdb253d authored by Ben Boeckel's avatar Ben Boeckel
Browse files

matplotlib: depend on pkgconf on not-Windows

parent b835c5e5
No related branches found
No related tags found
1 merge request!353matplotlib: update to 3.2.1
......@@ -12,9 +12,24 @@ if (ENABLE_python3 OR python3_enabled)
CL "/I<INSTALL_DIR>/include"
LINK "/LIBPATH:<INSTALL_DIR>/lib")
endif()
set(matplotlib_depends)
if (APPLE)
list(APPEND matplotlib_depends
pkgconf)
endif ()
if (pkgconf_enabled)
list(APPEND matplotlib_process_environment
PKG_CONFIG "${superbuild_pkgconf}")
endif ()
superbuild_add_project_python(matplotlib
PACKAGE matplotlib
DEPENDS numpy png freetype zlib pythondateutil pytz pythonpyparsing pythoncycler pythonsetuptools cxx11 pythonkiwisolver
${matplotlib_depends}
PROCESS_ENVIRONMENT
"${matplotlib_process_environment}"
${matplotlib_args})
superbuild_apply_patch(matplotlib nostatic
"Disable static builds")
......@@ -23,7 +38,7 @@ if (ENABLE_python3 OR python3_enabled)
else ()
set(matplotlib_process_environment)
if (NOT WIN32)
set(matplotlib_process_environment
list(APPEND matplotlib_process_environment
PYTHONPATH "<INSTALL_DIR>/lib/python${superbuild_python_version}/site-packages")
endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment