Fixed bug in cmake file.