Build python dependencies: Python, NetCDF4

This commit is contained in:
Guilhem Lavaux 2012-10-31 14:50:41 -04:00
parent e1f3731682
commit eaa35ea07e
3 changed files with 65 additions and 0 deletions

5
external/python_install.cmake vendored Normal file
View file

@ -0,0 +1,5 @@
SET(ENV{HDF5_DIR} ${HDF5_DIR})
SET(ENV{NETCDF4_DIR} ${NETCDF4_DIR})
SET(ENV{CPPFLAGS} ${PYTHON_CPPFLAGS})
SET(ENV{LDFLAGS} ${PYTHON_LDFLAGS})
execute_process(COMMAND ${PYTHON_EXECUTABLE} setup.py install --prefix=${TARGET_PATH})