cgm.cmake 388 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11

#cgm has to be built in source to work
add_external_project(cgm
  DEPENDS oce
  BUILD_IN_SOURCE 1
  CONFIGURE_COMMAND <SOURCE_DIR>/configure
    --with-occ=<INSTALL_DIR>
    --prefix=<INSTALL_DIR>
    --enable-shared
)

12 13
add_external_project_step(cgm-autoreconf
  COMMENT "Running autoreconf for cgm"
14 15 16 17
    COMMAND autoreconf -i <SOURCE_DIR>
    DEPENDEES update
    DEPENDERS configure
  )