Cmake implementations

@satoshikumano please review.
theoretically we don't need this.
Please add comment this is exist for rapsberry pi environment.