completed the cmake build script such that it works on unix like platforms. Made minor modifications to the code
Authored by: davidfange 2015-05-07
Parent: [r709]
Child: [r711]