Is it possible to specify an include directory when running cmake. For example

cmake . -INCLUDE=/foo/bar

The header files are in a separate directory from the sources that I would like to compile, and I would like to remedy this without tinkering with the Makefile generated by cmake.

Update

The project does have a CMakeLists.txt. Excerpt:

INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src)
INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/ga)
INCLUDE_DIRECTORIES(${EO_SOURCE_DIR}/src/utils)

Can ${EO_SOURCE_DIR} be set from the command line?

Edit
Report