Change cmake macro

Change-Id: Ib4c43059489e2e3e216459ac4abe81d96c0253c1