Added detection of the support for march=native (solve healpy building issue on old compilers)

This commit is contained in:
Guilhem Lavaux 2013-01-29 15:09:40 -05:00
parent 537b7c1f43
commit 2b807e26bd
2 changed files with 4 additions and 0 deletions

View file

@ -101,6 +101,7 @@ IF(INTERNAL_HEALPY)
"-DNETCDF4_DIR=${NETCDF_BIN_DIR}"
"-DPYTHON_LDFLAGS:STRING=${PYTHON_LDFLAGS}"
"-DPYTHON_LOCAL_SITE_PACKAGE=${PYTHON_LOCAL_SITE_PACKAGE}"
"-DSUPPORT_ARCH_NATIVE=${SUPPORT_ARCH_NATIVE}"
"-DTARGET_PATH=${CMAKE_BINARY_DIR}/ext_build/python" "-P")
ExternalProject_Add(healpy