cgm.cmake 338 Bytes
Newer Older
Ben Boeckel's avatar
Ben Boeckel committed
1 2
superbuild_add_project(cgm
  DEPENDS oce
Ben Boeckel's avatar
Ben Boeckel committed
3
  DEPENDS_OPTIONAL cxx11
Ben Boeckel's avatar
Ben Boeckel committed
4 5
  CMAKE_ARGS
    -DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
Ben Boeckel's avatar
Ben Boeckel committed
6
    -DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib
Ben Boeckel's avatar
Ben Boeckel committed
7 8
    -DCGM_USE_CUBIT:BOOL=OFF
    -DCGM_OCC:BOOL=ON
Ben Boeckel's avatar
Ben Boeckel committed
9 10 11
    -DUSE_MPI:BOOL=OFF)

superbuild_add_extra_cmake_args(
12
  "-DCGM_DIR:PATH=<INSTALL_DIR>/lib/cmake/CGM")