fixed bag: removed duplicate lines in cmake

Fixed bug. Remove the duplicate lines.