adding cmake flag