cmake: fixed syntax error for opnegl case