silo.cmake 473 Bytes
Newer Older
1
add_external_project(
2 3 4 5
  silo
  DEPENDS zlib hdf5
  BUILD_IN_SOURCE 1
  CONFIGURE_COMMAND <SOURCE_DIR>/configure
6
                    --prefix=<INSTALL_DIR>
7 8 9 10 11
                    --enable-shared=yes
                    --enable-static=no
                    --enable-fortran=no
                    --enable-browser=no
                    --enable-silex=no
12 13
                    --with-szlib=<INSTALL_DIR>
                    --with-hdf5=<INSTALL_DIR>/include,<INSTALL_DIR>/lib
14
)