Add command line flags to cmake.