add support for CMAKE_FLAGS
Merge branch 'master' of https://github.com/RobotLocomotion/drake