Dependencies in non-standard locations


Some small additions to the CMakeLists.txt file will improve the build portability. For example, if an updated version of flex is installed in /usr/local/flex, so as not to overwrite the installed system version, this can be found by the cmake find_package(FLEX required) command, but the relevant include and lib directories will not be used without the additional lines:


I am sure this is not the only package to which this applies, but it is the one that bit us.