cmake: add float support (#100)