@scottpurdy I think your "include problem" is here. Does the inner (nupic.core) cmake use same NTA_INCLUDEFLAGS? there the -I $REPOSITORY_DIR would not fit as its REPO/src/main 

..actually I'm working on a PR that removes the $REPOSITORY_DIR include and uses only files in */include/* dirs