mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
fix: Add healpix
This commit is contained in:
parent
e80a4da545
commit
eeacfd281e
1 changed files with 12 additions and 0 deletions
12
external/configure_healpix.cmake
vendored
Normal file
12
external/configure_healpix.cmake
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
SET(ENV{CFITSIO_LIBS} "-L${HEALPIX_INSTALL}/lib -lcfitsio")
|
||||||
|
SET(ENV{CFITSIO_CFLAGS} -I${HEALPIX_INSTALL}/include)
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "${HEALPIX_DIR}/configure" --prefix=${HEALPIX_INSTALL} --libdir=${HEALPIX_INSTALL}/lib --disable-shared --with-pic --disable-maintainer-mode CC=${HEALPIX_CC} CXX=${HEALPIX_CXX}
|
||||||
|
|
||||||
|
RESULT_VARIABLE okcode
|
||||||
|
)
|
||||||
|
|
||||||
|
IF (NOT "${okcode}" STREQUAL "0")
|
||||||
|
MESSAGE(FATAL_ERROR "Configure failed")
|
||||||
|
ENDIF (NOT "${okcode}" STREQUAL "0")
|
Loading…
Add table
Add a link
Reference in a new issue