Cross-Compiling just C++

I want to compile the source, but just for C++.
I also want to cross-compile for an Intel Atom E3845.
I tried running cmake on the source but it’s erroring out with

CMake Error at cmake/Codegen.cmake:172 (message):
  Failed to get generated_cpp list
Call Stack (most recent call first):
  caffe2/CMakeLists.txt:2 (include)


-- Configuring incomplete, errors occurred!

Any help or direction appreciated.