It may fail elsewhere, but at least on Mac OS X 10.11 (El Capitan) with CMake 3.3.2 and 3.4.1: CMake fails to generate project files yielding the following error during the "Generate" stage:
-- Configuring done CMake Error at Source/CMakeLists.txt:217 (export): export called with target "vtkCMBFiltering" which requires target "rtvl" that is not in the export set.
If the required target is not easy to reference in this call, consider using the APPEND option with multiple separate calls.
-- Generating done
Commenting out the
export() command in Source/CMakeLists.txt gets ModelBuilder built and running.